-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
gitbash shows wrong dir name in commandline prompt while open a python project in visual studio code #5114
Comments
That prompt is set via the One curious thing about this is that it looks at the Can you verify via If that is not the case, could you see whether there is another shell variable that contains that path, e.g. via `env | grep '=C:.*Microsoft.VS.Code$'? |
Please see my reply below.
|
That's bizarre. What does |
|
And what does |
This is quite strange, by the way. Does
And this is actively wrong. The first part of the I suspect that this is |
|
Does VIRTUAL_ENV contain multi-line text? no |
I checked the python add-on repo, there is a same issue reported. I did not realize that this could be the add-on issue... |
Could you please provide the link?
And could you please run this |
add-on issue link: microsoft/vscode-python#23382 |
Does |
After a cd "$(pwd)", $PWD corrected.
|
Setup
defaults?
to the issue you're seeing?
** insert your response here **
Details
run integrated git bash in visual studio code.
I have checked all vistual studio related setting, all good.
this issue only happens while I open a python proejct in visual studio code , and then open git bash in vs code.
visual studio code version:
版本: 1.92.2 (user setup)
提交: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
日期: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
Minimal, Complete, and Verifiable example
this will help us understand the issue.
the command line prompt shows the correct dir name.
the command line prompt shows the wrong dir name.
URL to that repository to help us with testing?
no .
The text was updated successfully, but these errors were encountered: