|
| 1 | +# Troubleshooting Guide for VS Code and Conda Issues |
| 2 | + |
| 3 | +This document provides solutions for common issues encountered while using GitHub Copilot, Conda environments, and Visual Studio Code (VS Code). The troubleshooting steps include restarting VS Code, modifying settings, and utilizing command-line instructions. References to relevant discussions and documentation are provided for further assistance. |
| 4 | + |
| 5 | +## Issue: GitHub Copilot Won't Complete Prompts |
| 6 | + |
| 7 | +**Solution 1:** |
| 8 | +- Restart VS Code. |
| 9 | + |
| 10 | +**Solution 2:** |
| 11 | +- Check if `"editor.inlineSuggest.enabled": false` in your settings. |
| 12 | + - If it is set to `false`, set it to `true` and GitHub Copilot should be back up again. |
| 13 | + - Reference: [Stack Overflow](https://stackoverflow.com/questions/76396755/github-copilot-does-not-suggest-anything-anymore-after-i-fiddled-around-with-vsc) |
| 14 | + |
| 15 | +## Issue: Conda Env Won't Show Up in VS Code Under Kernel Selection |
| 16 | + |
| 17 | +**Solution:** |
| 18 | +- Restart VS Code. |
| 19 | + |
| 20 | +## Issue: Conda Env Won't Show Up in VS Code Terminal |
| 21 | + |
| 22 | +**Solution 1:** |
| 23 | +- Open your terminal in VS Code. |
| 24 | +- Then within the terminal, type: `conda init`. |
| 25 | +- Close and reopen the terminal. |
| 26 | +- Use Conda normally. |
| 27 | + - Reference: [Stack Overflow](https://stackoverflow.com/questions/61986052/visual-studio-code-terminal-doesnt-activate-conda-environment) |
| 28 | + |
| 29 | +**Solution 2:** |
| 30 | +- Open up your terminal. |
| 31 | +- Activate the environment by running the command: `conda activate githubcopilotworkshop`. |
| 32 | +- Start Visual Studio Code from the Anaconda/Miniconda terminal: `code`. |
| 33 | + - Reference: [Stack Overflow](https://stackoverflow.com/questions/65064740/error-when-trying-to-use-conda-on-visual-studio-code-conda-the-term-conda) |
| 34 | + |
| 35 | +## Issue: SSL Connection Errors |
| 36 | + |
| 37 | +**Solution:** |
| 38 | +- Refer to the [Conda documentation on SSL connection errors](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#the-system-cannot-find-the-path-specified-on-windows:~:text=library%20load%20failed-,SSL%20connection%20errors,-Permission%20denied%20errors). |
| 39 | + |
| 40 | +## Issue: Shell Commands Open from the Wrong Location |
| 41 | + |
| 42 | +**Solution:** |
| 43 | +- Refer to the [Conda documentation on shell command issues](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#shell-commands-open-from-the-wrong-location). |
| 44 | + |
| 45 | +## Issue: The System Cannot Find the Path Specified on Windows |
| 46 | + |
| 47 | +**Solution:** |
| 48 | +- Refer to the [Conda documentation on path issues](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#the-system-cannot-find-the-path-specified-on-windows). |
| 49 | + |
| 50 | +## More Troubleshooting Guides for Conda |
| 51 | + |
| 52 | +- Visit the [Conda troubleshooting documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html) for more guides. |
0 commit comments