Skip to content

Commit 35435b9

Browse files
docs: Put "cross-repo" optional step before SCIP index generation (#742)
1 parent d314dd8 commit 35435b9

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

docs/manual-configuration.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,21 +140,8 @@ build/semanticdb-targetroot/META-INF/semanticdb/j8/src/main/java/example/Example
140140
...
141141
```
142142

143-
## Step 4: Generate SCIP index from SemanticDB files
144143

145-
First, install the `scip-java` command-line tool according to the instructions
146-
in the [getting started guide](getting-started.md).
147-
148-
Next, run the `scip-java index-semanticdb` command to convert SemanticDB files
149-
into SCIP.
150-
151-
```sh
152-
❯ scip-java index-semanticdb $TARGETROOT
153-
❯ file index.scip
154-
index.scip: JSON data
155-
```
156-
157-
## Step 5 (optional): Enable cross-repository navigation
144+
## Step 4 (optional): Enable cross-repository navigation
158145

159146
Cross-repository navigation is a feature that allows "goto definition" and "find
160147
references" to show results from multiple repositories.
@@ -228,3 +215,18 @@ Which allows you to invoke it by simply running `mvn sourcegraph:sourcegraphDepe
228215

229216
Cross-repository navigation is a feature that allows "goto definition" and "find
230217
references" to show results from multiple repositories.
218+
219+
## Step 5: Generate SCIP index from SemanticDB files
220+
221+
First, install the `scip-java` command-line tool according to the instructions
222+
in the [getting started guide](getting-started.md).
223+
224+
Next, run the `scip-java index-semanticdb` command to convert SemanticDB files
225+
into SCIP.
226+
227+
```sh
228+
❯ scip-java index-semanticdb $TARGETROOT
229+
❯ file index.scip
230+
index.scip: JSON data
231+
```
232+

0 commit comments

Comments
 (0)