Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/code-search/code-navigation/precise_code_navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Precise code navigation relies on the open source [SCIP Code Intelligence Protoc

## Setting up code navigation for your codebase

<Callout type="info">There are several options for setting up precise code navigation listed below. However, we always recommend you start by manually indexing your repo locally using the [approriate indexer](/code-navigation/writing_an_indexer#quick-reference) for your language. Code and build systems can vary by project and ensuring you can first succesfully run the indexer locally leads to a smoother experience since it is vastly easier to debug and iterate on any issues locally before trying to do so in CI/CD or in Auto-Indexing.</Callout>
<Callout type="info">There are several options for setting up precise code navigation listed below. However, we always recommend you start by manually indexing your repo locally using the [approriate indexer](/code-search/code-navigation/writing_an_indexer#quick-reference) for your language. Code and build systems can vary by project and ensuring you can first succesfully run the indexer locally leads to a smoother experience since it is vastly easier to debug and iterate on any issues locally before trying to do so in CI/CD or in Auto-Indexing.</Callout>

1. **Manual indexing**. Index a repository and upload it to your Sourcegraph instance:

Expand All @@ -32,12 +32,8 @@ Precise code navigation relies on the open source [SCIP Code Intelligence Protoc
- [Index a Python repository](https://sourcegraph.com/github.com/sourcegraph/scip-python)
- [Index a Ruby repository](https://sourcegraph.com/github.com/sourcegraph/scip-ruby)

2. [**Automate indexing via CI**](/code_navigation/how-to/adding_scip_to_workflows): Add indexing and uploading to your CI setup.
2. [**Automate indexing via CI**](/code-search/code-navigation/how-to/adding_scip_to_workflows): Add indexing and uploading to your CI setup.
3. [**Auto-indexing**](/code-search/code-navigation/auto_indexing#enable-auto-indexing): Sourcegraph will automatically index your repositories and enable precise code navigation for them.
4. Set up **auto-dependency indexing** to navigate and search through the dependencies your code uses:
- **Go**: Enable [auto-indexing](/code-search/code-navigation/auto_indexing) and Sourcegraph will start indexing your dependencies.
- **JavaScript, TypeScript**: Enable [auto-indexing](/code-search/code-navigation/auto_indexing#enable-auto-indexing) and set up an [npm dependencies code host](/integration/npm).
- **Java, Scala, Kotlin**: Enable [auto-indexing](/code-search/code-navigation/auto_indexing) and set up a [JVM dependencies code host](/integration/jvm).

## Supported languages and indexers

Expand Down