dongli0x00 / python-preview

Python Preview extension for Visual Stuido Code
https://marketplace.visualstudio.com/items?itemName=dongli.python-preview#overview
MIT License
109 stars 27 forks source link

config user root path #3

Open DansYU opened 5 years ago

DansYU commented 5 years ago

the root path when used the python preview is the temp path, is not the current path.

default

in this picture, the current path is D:\test\rome, but the root path when used the python preview is C:\Users\huanyu\AppData\Local\Programs\Microsoft VS Code I want to start the current path by default

Douvahkiin commented 2 years ago

Yes. I have the same issue (though with a little difference)! Its directory is not my current workspace directory, but vscode's installation directory. Though I can change the path through command "os.chdir()", it's very inconvenient to change it to where I want, because it's trillions of lightyears away from my workspace directory! image