"Create Interactive Window" command does not open in the current work directory
See original GitHub issueEnvironment data
- VS Code version: 1.51.1 (Portable version)
- OS: Windows 10
- Python version: 3.8.3
Expected behaviour
When run the command “Jupyter: Create Interactive Window” (jupyter.createnewinteractive
)
The python interactive window should open on the current project’s folder as working directory,
which can be seen with line command pwd
Actual behaviour
The python interactive window opens in VSCode installation folder.
Steps to reproduce:
- Open VS Code in some folder
- Run the command “Jupyter: Create Interactive Window” (
jupyter.createnewinteractive
) - Verify the current work directory with command
pwd
in the opened Python Interactive Window
Remark: Using the Portable version of VS Code (don’t know if this makes difference)
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
How to run python interactive in current file's directory in ...
Once the extension is installed, make sure your file window is in focus, and press ctrl+shift+p and execute Terminal Here: Create Terminal ....
Read more >Python interactive window (REPL) - Visual Studio
First, switch to the Python Environments window (View > Other Windows > Python Environments or Ctrl+K > Ctrl+`) and select the Open Interactive...
Read more >Troubleshoot Terminal launch failures - Visual Studio Code
Try running your designated integrated terminal shell outside VS Code from an external terminal or command prompt. Some terminal launch failures may be...
Read more >Chapter 8 – Reading and Writing Files
For example, there is a file on my Windows 7 laptop with the filename ... If start is not provided, the current working...
Read more >The Basics of Visual Studio Code - vscode-docs
make a change to a file; double-click a file in the Explorer; open a file that is not part of the current folder....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Diogo-Rossi That’s been fixed in VS Code Insiders 😊 https://github.com/microsoft/vscode-jupyter/issues/6549
I’ve finally figured out the problem, sorry for the delay in getting to the bttom of this.