Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
atomlin opened this issue Aug 22, 2018 · 1 comment
Closed

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

atomlin opened this issue Aug 22, 2018 · 1 comment

Comments

@atomlin
Copy link

atomlin commented Aug 22, 2018

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
@brettcannon
Copy link
Member

Duplicate of #2334

@brettcannon brettcannon marked this as a duplicate of #2334 Aug 23, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants