Skip to content

Python symbols in outline view do not load unless file is edited #2434

Closed

Description

@atomlin

https://stackoverflow.com/questions/51904378/vscode-python-outline-view-for-python-in-vscode-on-linux-not-working?noredirect=1#comment90864998_51904378

Environment data

  • VS Code version: 1.26.1
  • Extension version (available under the Extensions sidebar): 2018.7.1
  • 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 for 2 days. 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:

  1. Open file

Logs

None

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

log.ts:159  INFO no standard startup: panel is active
log.ts:159  INFO No grammar found for scope source.applescript
log.ts:159  INFO No grammar found for scope text.html.textile
log.ts:159  INFO No grammar found for scope source.c++
log.ts:159  INFO No grammar found for scope source.js.jquery
log.ts:159  INFO No grammar found for scope source.scala
log.ts:159  INFO No grammar found for scope source.dart
log.ts:159  INFO No grammar found for scope text.html.javadoc
log.ts:159  INFO No grammar found for scope source.postscript
log.ts:159  INFO No grammar found for scope source.sass
log.ts:159  INFO No grammar found for scope source.less
log.ts:159  INFO No grammar found for scope source.stylus
console.ts:136 [Extension Host] activating extension
console.ts:136 [Extension Host] starting language server

Activity

  1. brettcannon commented on Aug 23, 2018

    @brettcannon
    Member

    Duplicate of #2334

  2. locked as resolved and limited conversation to collaborators on Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions