microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.99k stars 29.19k forks source link

Go to symbol in workspace leads to nonexisting files #22746

Closed oleynikandrey closed 7 years ago

oleynikandrey commented 7 years ago
Extension Author Version
swagger-viewer Arjun 1.3.0
gitignore codezombiech 0.5.0
githistory donjayamanne 0.2.0
python donjayamanne 0.6.0
xml DotJoshJohnson 1.7.0
pgsql doublefint 0.0.7
code-runner formulahendry 0.6.14
gc-excelviewer GrapeCity 1.1.13
beautify HookyQR 1.0.1
plantuml jebbs 1.3.0
MagicPython magicstack 1.0.7
PowerShell ms-vscode 0.10.0
vscode-json-transform octref 0.1.2
vscode-docker PeterJausovec 0.0.13
better-merge pprice 0.5.1
language-plantuml qhoekman 0.0.3
todotasks sandy081 0.4.0
searchdocsets-vscode silverlakesoftware 0.5.2
python-extended-snippets tushortz 0.0.1
vim vscodevim 0.6.5
erlang-otp yuce 0.2.1 ;

Steps to Reproduce:

  1. Open a directory with files
  2. Click Ctrl + T and look at list of found symbols - paths to files in witch these symbols are found are incorrect. code_2017-03-16_19-46-08
weinand commented 7 years ago

It is possible that this issue is caused by an installed extension. Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

oleynikandrey commented 7 years ago

Without extensions it doesn't work at all.

code_2017-03-17_11-07-41
weinand commented 7 years ago

Then please file the issue against the extension that produces the broken paths (because it does not seem to be a VS Code core issue).

oleynikandrey commented 7 years ago

Why do you think so? I have turned off all extensions and described functionality doesn't work. I couldn't go to symbol in workspace.

weinand commented 7 years ago

Because the "Goto to symbol" functionality is provided by the Python extension. Just enable the Python extension and verify that you again get the broken path. This would prove that the Python extension is the culprit.

oleynikandrey commented 7 years ago

I thought that this is the core feature. Thank you then.