microsoft / vscode

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

outline doesn't work on any previous python files. only new ones. #55568

Closed shacharm2 closed 6 years ago

shacharm2 commented 6 years ago

Issue Type: Bug

outline doesn't work on any previous python files. only new ones.

tried every project I have. will not show any symbol for any python file I have, unless it new. if I copy the contents to a new file and save it, it shows the symbols - but when I rename the file to the original name of the file, from which I've copied the contents, the symbols in the outline disappear.

VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:40:20.190Z) OS version: Linux x64 4.4.0-131-generic

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz (8 x 3293)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: unavailable_software
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled| |Load (avg)|2, 2, 2| |Memory (System)|30.81GB (13.92GB free)| |Process Argv|/usr/share/code/code --unity-launch| |Screen Reader|no| |VM|0%|
Extensions (62) Extension|Author (truncated)|Version ---|---|--- codeexplorer|Jul|0.3.4 vscode-todo|Mat|0.8.0 terminal-tabs|Tyr|0.2.0 google-search-ext|ade|0.2.1 Bookmarks|ale|9.0.3 project-manager|ale|8.0.0 vscode-jupyter-qtconsole|and|1.0.0 code-gnu-global|aus|0.2.2 vscode-python-docstring|aza|0.0.5 Doxygen|bbe|1.0.0 gitignore|cod|0.5.0 vscode-svgviewer|css|1.4.4 git-extension-pack|don|0.1.3 githistory|don|0.4.2 jupyter|don|1.1.4 gitlens|eam|8.5.4 LogFileHighlighter|emi|2.4.0 json-tools|eri|1.0.2 code-runner|for|0.9.3 terminal|for|0.0.10 code-python-isort|fre|0.0.3 gc-excelviewer|Gra|2.1.25 vscode-auto-open-markdown-preview|hnw|0.0.4 beautify|Hoo|1.3.2 vscode-git-tags|how|1.3.1 launcher|ili|0.0.4 easy-icons|jam|0.3.1 comment-labels|jam|0.1.0 nbpreviewer|jit|1.0.0 TrelloVSCodeExtension|kat|0.1.2 python-traceback-jumper|lin|1.0.9 code-bitbucket-pipelines|luk|0.4.2 MagicPython|mag|1.0.12 vscode-todo-parser|min|1.9.1 vscode-clang|mit|0.2.2 prettify-json|moh|0.0.3 python|ms-|2018.7.1 cpptools|ms-|0.17.7 vscode-run-git-difftool|nar|0.0.5 vscode-gitignore-generator|pio|1.0.1 gitlink|qez|0.4.5 remote-vscode|raf|1.1.0 jira-jump-to-task|rea|1.1.1 vscode-statusbar-json-path|ric|1.2.0 vscode-icons|rob|7.24.0 bash-debug|rog|0.2.0 vscode-spotify|shy|2.5.1 gitconfig|sid|1.0.1 vscode-fileutils|sle|2.10.3 vscode-hexdump|sle|1.6.0 vscode-zipexplorer|sle|0.3.1 pdf|tom|0.3.0 python-extended-snippets|tus|0.0.1 cmake|twx|0.0.17 cmake-tools|vec|1.1.1 gitflow|vec|1.2.1 gitblame|wad|2.4.2 vsc-tasks|wal|0.9.0 vscode-todo-highlight|way|1.0.4 jira|web|0.1.0 jira-search|xce|0.3.0 vscode-open-in-github|ziy|1.3.5 (1 theme extensions excluded)
vscodebot[bot] commented 6 years ago

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

vscodebot[bot] commented 6 years ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.

Happy Coding!