Sourcegraph Code Search VS Code Auth Workaround

This is a known issue with our extension at the current moment and on our radar to fix.

In the meantime, here is a workaround solution:

Access your VSCode user settings in the settings.json file.
You can do that by opening the VSCode Command Palette (Shift + CMD + P) on Mac and then searching for "Preferences: Open User Settings (JSON)".
Once you're in the json file you will add the following json keys and the necessary values.
"sourcegraph.accessToken": [YOUR SOURCEGRAPH ACCESS TOKEN]
"sourcegraph.url": [YOUR SOURCEGRAPH INSTANCE URL]

Was this article helpful?
0 out of 0 found this helpful

Articles in this section