question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python: Go to Symbol in File Broken

See original GitHub issue

From @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:closed
  • Created 5 years ago
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
brettcannoncommented, Jul 30, 2018

@JuliuszKaczmarek Try setting "python.jediMemoryLimit": -1 and see if that solves the problem. It looks like your Windows install has an unhappy wmic that we’re hitting.

0reactions
brettcannoncommented, Aug 20, 2018

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: capture

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found