Search by Sourcegraph installs statistics
By Sourcegraph (4 listings) · VS Code Marketplace · Other
Search all of your repositories across all branches and all code hosts
Search by Sourcegraph has 142,232 recorded installs on VS Code Marketplace, an increase of 1.5% over the past 30 days, ranking #1931 of 2,515 tracked listings.
Rating: 5.00 / 5 from 3 ratings
About Search by Sourcegraph
Sourcegraph for Visual Studio Code

Sourcegraph’s Code Search allows you to find & fix things fast across all your code.
Sourcegraph Search for VS Code allows you to search millions of open source repositories right from your VS Code IDE — for free. You can learn from helpful code examples, search best practices, and re-use code from millions of repositories across the open source universe.
Sourcegraph’s Code Intelligence feature provides fast, cross-repository navigation with “Go to definition” and “Find references” features, allowing you to understand new code quickly and find answers in your code across codebases of any size.
You can read more about Sourcegraph on our website.
Not the extension you're looking for? Download the Sourcegraph Cody extension for code AI assistance.
Installation
From the Visual Studio Marketplace:
- Install Search by Sourcegraph from the Visual Studio Marketplace.
- Launch VS Code, and click on the Sourcegraph (Wildcard) icon in the VS Code Activity Bar to open the Sourcegraph extension. Alternatively, you can launch the extension by pressing <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and searching for “Sourcegraph: Focus on Sourcegraph Search View.”
From within VS Code:
- Open the extensions tab on the left side of VS Code (<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>X</kbd> or <kbd> Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>X</kbd>).
- Search for
Sourcegraph->InstallandReload.
From Gitpod VS Code Workspaces:
- Open the
Extensions viewby clicking on the Extensions icon in the Activity Bar on the side of your Gitpod VS Code workspace - Search for Sourcegraph ->
InstallandReload.
Using the Sourcegraph Search extension
To get started, click the Sourcegraph (Wildcard) icon in the VS Code Activity Bar.
You can search many open source repositories indexed on https://sourcegraph.com immediately!
Sourcegraph Search functions like any search engine: type in your search query, and Sourcegraph will populate search results.
Learn more about Sourcegraph Code Search usage in our docs.
For example, you can search for "auth provider" in a Go repository with a search like this one:
repo:sourcegraph/sourcegraph lang:go "auth provider"

Adding and searching your own code
If you are part of an organization that has installed a Sourcegraph instance, you can authenticate to it using a Personal Access Token, and then your searches will use that instance.
If you need help creating a Personal Access Token, the documentation has a helpful video.
Once you have generated a token, copy it and paste it into the Sourcegraph Search extension along with the URL to your Sourcegraph instance.
Click Authenticate account to login and start searching your own code!
If specific headers are required to connect to your Sourcegraph instance, you can configure them in the VSCode settings using the sourcegraph.requestHeaders setting.
There are other settings such as proxy details that you can set also. Search for "sourcegraph" in Settings to find them.
Adding it to your workspace's recommended extensions
- Create a
.vscodefolder (if not already present) in the root of your repository - Inside that folder, create a new file named
extensions.json(if it doesn't already exist) with the following structure.
{
"recommendations": ["sourcegraph.sourcegraph"]
}
- If the file does exist, append
"sourcegraph.sourcegraph"to the"recommendations"array. - Push the changes to your repository for your other colleagues to share.
Alternatively you can use the Extensions: Configure Recommended Extensions (Workspace Folder) command from within VS
Code.
Keyboard Shortcuts:
| Description | Mac | Linux / Windows |
|---|---|---|
| Open Sourcegraph Search Tab/Search Selection | <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>8</kbd> | <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>8</kbd> |
| Open File in Sourcegraph | <kbd>Option</kbd>+<kbd>A</kbd> | <kbd>Alt</kbd>+<kbd>A</kbd> |
| Search Selected Text in Sourcegraph | <kbd>Option</kbd>+<kbd>S</kbd> | <kbd>Alt</kbd>+<kbd>S</kbd> |
Extension Settings
This extension contributes the following settings:…
Description from the VS Code Marketplace listing.
- keybindings
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Other plugins
All 20 Search by Sourcegraph alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=sourcegraph.sourcegraph. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.