-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Environment data
- VS Code version: 1.55.2
- Extension version (available under the Extensions sidebar): v2021.4.765268190
- OS and version: OS X 11.3.1
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.7
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: v2021.4.765268190
- Value of the
python.languageServersetting: Jedi
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
The run-file-in-terminal button is located in horizontal line with the file tabs. It's location and appearance make it appear to be a tab scroll: tabs slide to the left, revealing tabs that are off the screen to the right
Actual behaviour
Script launches
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- Open many files
- Look for one file in the row of tabs. Maybe it's hidden to the right of the toolbar.
- Click green arrow button that looks like a tab scroll button, seen on other applications, that slides tabs to the left and brings hidden tabs into view.
- In actuality the tool launches a script that you didn't want to launch.
- Spend time cleaning up the results of the inadvertent script launch.
I've now done this twice.
Suggest that you alter or move the "run file in terminal" button so that it's less likely to be mistaken for a "tab scroll

" button.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX