Skip to content

Instantly share code, notes, and snippets.

@andreberg
Last active February 26, 2020 15:00
Show Gist options
  • Save andreberg/b28305e9baadc58af3cf723224d143cb to your computer and use it in GitHub Desktop.
Save andreberg/b28305e9baadc58af3cf723224d143cb to your computer and use it in GitHub Desktop.
[VSCode: Tips and Tricks] Collection tips and tricks, quick fixes and short-hand solutions to common snags. #vscode #tips #tricks #quickfix

Problem

No symbols shown in editor outline when opening a .py file.

Symptoms

Message No symbols found in document '<document name>.py displayed in editor outline panel.

Possible causes

  1. She-bang comment line confuses MS Language Server extension or Python Extension host as to which env to use. Background AST analysis is aborted or does not even start.
  2. Python extension requires a Reload.

Fixes

  1. Remove line in question or modify to fit actual environment.
  2. Open Extensions panel and click 'reload required' button.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment