Reputation: 113
Running VSCode on Ubuntu 16.04.3 VSCode Version: 1.26.1 Microsoft Python Extension: 2018.7.1
When I view a python file the outline view shows No symbols found in document. Same file in VSCode on Windows shows all the symbols
Any help?
Upvotes: 5
Views: 5103
Reputation: 1279
Summing up answers found in the comments...
Opened Python files that have not yet been edited will not show anything in the Outline View (message is "No symbols found in document 'xyz'"). Once the file has been edited and saved, the Outline View will populate correctly.
This is a known issue being tracked at https://github.com/Microsoft/vscode-python/issues/2334.
Upvotes: 1