- Copilot Chat Extension Version: 0.23.2
- VS Code Version: 1.96.2
- OS Version: Windows 11
- Logs:
Steps to Reproduce:
- Start with a clean VSCode profile
- Install the python extension
- Create a virtual environment and set it as the python interpreter
- Open a new terminal and run
(get-command python).Source (or equivalent for your shell): it should point to the python interpreter from the virtual environment, because the Python extension activates the environment for you and prepends it to env:PATH
- Now, install Copilot Chat and restart VSCode
- Open a new terminal and re-run
(get-command python).Source: this time, it should point to the global python interpreter.
The issue seems to be that both Python extension and Copilot Chat seem to be trying to modify the PATH at the same time, probably overriding each others changes (even if in my case, Copilot Chat seems to always override Python).
Even worse, Copilot Chat seems to completely ignore the "github.copilot.chat.copilotDebugCommand.enabled": false setting, with the extension still trying to add features to the terminal.
EDIT: Adding a separate issue for this, microsoft/vscode-copilot-release#3499
Steps to Reproduce:
(get-command python).Source(or equivalent for your shell): it should point to the python interpreter from the virtual environment, because the Python extension activates the environment for you and prepends it toenv:PATH(get-command python).Source: this time, it should point to the global python interpreter.The issue seems to be that both Python extension and Copilot Chat seem to be trying to modify the PATH at the same time, probably overriding each others changes (even if in my case, Copilot Chat seems to always override Python).
Even worse, Copilot Chat seems to completely ignore the
"github.copilot.chat.copilotDebugCommand.enabled": falsesetting, with the extension still trying to add features to the terminal.EDIT: Adding a separate issue for this, microsoft/vscode-copilot-release#3499