Skip to content

Commit 18c515d

Browse files
committed
fix readme
1 parent d1b73ae commit 18c515d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ IntelliJ IDEA 版 Sbt 依赖分析器插件提供了强大的可视化工具,
4545

4646
*交互式依赖关系图清晰地展示了项目的结构。*
4747

48-
## ⚙️ 配置
48+
## ⚙️ 配置 <a id="settings"></a>
4949

5050
通过 `设置/偏好设置` > `工具` > `Sbt Dependency Analyzer` 微调插件行为并可能加速分析:
5151

@@ -65,7 +65,7 @@ IntelliJ IDEA 版 Sbt 依赖分析器插件提供了强大的可视化工具,
6565
### 问题:无法分析模块间的依赖关系
6666
如果插件无法确定项目组织(organization),它可能无法正确解析模块间的依赖关系。
6767
* **解决方案**:通过以下任一方式确保插件知道您的项目组织:
68-
1. 在插件的[设置](#-配置)中设置 **组织(Organization)** 值。
68+
1. 在插件的[设置](#settings)中设置 **组织(Organization)** 值。
6969
2. 在您的 `build.sbt` 中使用 `ThisBuild / organization``inThisBuild(...)` 全局定义 `organization` 设置。
7070
> **注意**:未在根项目的 `dependsOn` 子句中声明的子模块将不会被解析。
7171

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Simply open your Sbt project in IntelliJ IDEA and use the shortcut to generate a
4444
![Dependency Analysis View](https://plugins.jetbrains.com/files/22427/screenshot_064531dc-a3fa-4a8e-9437-7e76defa1f48)
4545
*The interactive dependency graph provides a clear overview of your project's structure.*
4646

47-
## ⚙️ Configuration
47+
## ⚙️ Configuration <a id="settings"></a>
4848

4949
Fine-tune the plugin's behavior and potentially speed up analysis via `Settings/Preferences` > `Tools` > `Sbt Dependency Analyzer`:
5050

@@ -66,7 +66,7 @@ This error can occur due to conflicts between the plugin's use of the sbt shell
6666
### Issue: Cannot analyze dependencies between modules
6767
The plugin may fail to correctly parse inter-module dependencies if it cannot determine the project organization.
6868
* **Solution**: Ensure the plugin knows your project's organization by either:
69-
1. Setting the **Organization** value in the plugin's [settings](#-configuration).
69+
1. Setting the **Organization** value in the plugin's [settings](#settings).
7070
2. Defining the `organization` setting in your `build.sbt` globally using `ThisBuild / organization` or `inThisBuild(...)`.
7171
> **Note**: Submodules not declared within the `dependsOn` clause of the root project will not be parsed.
7272

0 commit comments

Comments
 (0)