Ask questionsOutline says No Symbols Found for the current doc. start type and symbols appear

Originally opened as #2434 , which was closed as duplicate of #2334

I updated to 1.27.1 this am to get the fix for #2334

I opened existing file that had problem before. Same problem as 2334. Hit space and symbols appear.

Cut and paste all code from that file to new file, saved and closed new file. On open of new file, symbols appear. On Open of old file with identical code no symbols until hit space.

Environment data

VS Code version: 1.27.1 Extension version (available under the Extensions sidebar): 2018.8.0 OS and version: Ubuntu 16.04.3 Python version (& distribution if applicable, e.g. Anaconda): 3.5.2 Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A Relevant/affected Python packages and their versions: N/A

Actual behavior

Outline view does not display any symbols after file open. Outline view shows 'No symbols found in document xxx'. On editing the file symbols appear in couple of seconds

Expected behavior

Symbols appear in outline window after opening file

Steps to reproduce:

Open file



Original file image

New file with same code image


Answer questions 0x5c

Same issue here with Jedi+GitLens

VSCode 1.351
GitLens 8.2.1
vscode-python 2019.5.18875

0x5c Québec, CA Armchair Digital Signals Processor
Github User Rank List