You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension version (available under the Extensions sidebar): 2019.1.0
OS and version: macOS Mojave 10.14.1
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1, miniconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv, conda, virtualenv
Relevant/affected Python packages and their versions: N/A
Expected behaviour
When opening a new terminal, users will start typing shell commands immediately. If the shell environment is not ready yet, stray keyboard input should not interfere with it loading properly.
Actual behaviour
When VSCode-Python is activating a virtualenv or conda environment, the console will still accept keyboard input, so the user ends up executing an unintended nonsense command. Most of the time this only a small annoyance, but if the user were to start typing rm (a plausible thing to type here) it's pretty bad that this is immediately completed to rm source /path/to/venv/activate<ENTER> and deletes whatever ./source was.
Steps to reproduce:
Open a Python project with an installed virtualenv.
Open a new terminal with shortcut <CTRL> + <BACKTICK>
Begin typing without waiting.
Logs
Terminal output:
$ lssource /Users/goodside/miniconda3/bin/activate
bash: lssource: command not found
The text was updated successfully, but these errors were encountered:
Environment data
Expected behaviour
When opening a new terminal, users will start typing shell commands immediately. If the shell environment is not ready yet, stray keyboard input should not interfere with it loading properly.
Actual behaviour
When VSCode-Python is activating a virtualenv or conda environment, the console will still accept keyboard input, so the user ends up executing an unintended nonsense command. Most of the time this only a small annoyance, but if the user were to start typing
rm
(a plausible thing to type here) it's pretty bad that this is immediately completed torm source /path/to/venv/activate<ENTER>
and deletes whatever./source
was.Steps to reproduce:
<CTRL>
+<BACKTICK>
Logs
Terminal output:
The text was updated successfully, but these errors were encountered: