-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't activate environments in terminals created by other extensions #11963
Comments
Hi @andycraig 👋 You can switch off the extension sending activation commands by using the setting |
@karrtikr Thank you for considering. I have created a feature request for this capability at the VS Code repo: microsoft/vscode#98888 |
The activation should not be done by sending commands, still waiting on adopting of the environment variable collection API which will let the Python extension activate the environment without sending text. #11039 |
Hello,
An R extension has a command to create an R console. If the Python extension is also active and using a virtualenv/conda/etc. environment then text like 'source .../env/bin/activate' is sent to the already running R console. This is confusing because it looks like an R bug. Is there a way to avoid sending Python environment activation commands to terminals created by other extensions?
Related but not the same: #4959
Thank you!
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): Enabledpython.languageServer
setting: MicrosoftExpected behaviour
New R console does not contain text like
Actual behaviour
New R console contains text like
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
R: Create R terminal
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)output.txt
Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)console.log
The text was updated successfully, but these errors were encountered: