From d41905cac5d19563245c6705434bfe081d34fa41 Mon Sep 17 00:00:00 2001 From: Stomzy <45337015+airamare01@users.noreply.github.com> Date: Tue, 8 Oct 2024 18:30:33 +0300 Subject: [PATCH] Fix typos and add guidance for Windows users This doc update fixes some typos for a recent change and also adds a troubleshooting addition for Windows users having issues logging in. --- docs/cody/troubleshooting.mdx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/cody/troubleshooting.mdx b/docs/cody/troubleshooting.mdx index 7c65f29c3..b601c5ec2 100644 --- a/docs/cody/troubleshooting.mdx +++ b/docs/cody/troubleshooting.mdx @@ -73,7 +73,7 @@ On the free plan, Cody provides **unlimited autocomplete suggestions** and **200 On the Pro and Enterprise plans, there are much higher limits that are used to keep our services operational. These limits reset within a day. -### Error logging in VS Code on Linux +### Error logging in VS Code on Linux and Windows If you encounter difficulties logging in to Cody on Linux using your Sourcegraph instance URL, along with a valid access token, and notice that the sign-in process in VS Code hangs, it might be related to underlying networking rules concerning SSL certificates. @@ -83,6 +83,12 @@ To address this, follow these steps: - In your terminal, type and run the following command: `echo "export NODE_TLS_REJECT_UNAUTHORIZED=0">> ~/.bashrc` - Restart VS Code and try the sign in process again +On Windows, + +- Close Visual Studio Code +- In your Command Prompt or PowerShell window, run the following command: `setx NODE_TLS_REJECT_UNAUTHORIZED 0` +- Restart Visual Studio Code and try the sign in process again + ### Error exceeding `localStorage` quota When using Cody chat, you may come across this error: @@ -171,7 +177,7 @@ This simple action of turning the plugin off and on again can often resolve the -## Androud Studio extension +## Android Studio extension ### Cody cannot start. Stuck on spinning icon. @@ -182,4 +188,4 @@ This issue occurs because JCEF isn't supported in Android Studio and causes Cody 1. Disable that key and close. 1. Then go to `Help` > `Find Action: Choose Boot runtime for the IDE`. 1. Select the last option. -1. Restart Android Studion. +1. Restart Android Studio.