Python: Go to Symbol in File Broken
See original GitHub issueFrom @rwinslow on June 11, 2018 18:39
Issue Type: Bug
Whenever I try to Go to Symbol in File
I get a message “No Symbols Found”. I work with a large codebase and do not need Workspace symbols, only within the file. This was working maybe a version ago but has since been broken for a couple of weeks. Disabling extensions does not help.
VS Code version: Code 1.24.0 (6a6e02cef0f2122ee1469765b704faf5d0e0d859, 2018-06-06T17:30:30.113Z) OS version: Darwin x64 17.5.0
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-4960HQ CPU @ 2.60GHz (8 x 2600) |
GPU Status | 2d_canvas: unavailable_software flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled rasterization: unavailable_software video_decode: enabled video_encode: enabled vpx_decode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 2, 2, 2 |
Memory (System) | 16.00GB (0.25GB free) |
Process Argv | /Applications/Visual Studio Code.app/Contents/MacOS/Electron . |
Screen Reader | no |
VM | 0% |
Extensions (6)
Extension | Author (truncated) | Version |
---|---|---|
beautify | Hoo | 1.3.1 |
prettify-json | moh | 0.0.3 |
python | ms- | 2018.5.0 |
Go | ms- | 0.6.82 |
vscode-icons | rob | 7.23.0 |
ayu | tea | 0.14.0 |
(2 theme extensions excluded)
Copied from original issue: Microsoft/vscode#51634
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (5 by maintainers)
Top Results From Across the Web
vscode python go to symbol not working - Stack Overflow
It seems that vscode needs to populate some kind of symbol index for the project but it is missing when in the Python...
Read more >errno — Standard errno system symbols — Python 3.11.1 ...
This module makes available standard errno system symbols. The value of each symbol ... No such file or directory. This error is mapped...
Read more >Changelog — Python 3.11.1 documentation
gh-96268: Loading a file with invalid UTF-8 will now report the broken character at the correct location. gh-96187: Fixed a bug that caused...
Read more >glob — Unix style pathname pattern expansion ... - Python Docs
Broken symlinks are included in the results (as in the shell). Whether or not the results are sorted depends on the file system....
Read more >What's New In Python 3.8 — Python 3.11.1 documentation
Loop over fixed length blocks while (block := f.read(256)) != ... is now raised instead of OSError for certain types of invalid or...
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 Free
Top 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
@JuliuszKaczmarek Try setting
"python.jediMemoryLimit": -1
and see if that solves the problem. It looks like your Windows install has an unhappywmic
that we’re hitting.Like @ericsnowcurrently I can’t reproduce in either Jedi or the new language server using the example file provided. And I do get more than top-level our top-level files with our latest development build and language server:
If you would like to try our latest development build that would be appreciated, otherwise feel free to wait until our August release which should hopefully fix this issue.