vscode.executeDocumentSymbolProvider seems to only work once (or at least only once in close succession)
See original GitHub issueEnvironment data
- VS Code version: 1.25 or 1.26
- Extension version (available under the Extensions sidebar): 2018.6.0
- OS and version: Windows 10 x64
- Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.15
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
Originally reported here: https://github.com/DonJayamanne/pythonVSCode/issues/553 Another case of this here: https://github.com/eamodio/vscode-gitlens/issues/439
Actual behavior
Executing vscode.executeDocumentSymbolProvider
only returns all the symbols on the first call, successive calls return 0 symbols (at least within a small window)
Expected behavior
Executing vscode.executeDocumentSymbolProvider
should return all the symbols no matter how many times (concurrently or not) it is called
Steps to reproduce:
- Call
vscode.executeDocumentSymbolProvider
more than once in close succession (or observe the behavior seen in https://github.com/eamodio/vscode-gitlens/issues/439)
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
GitLens breaks Outline for Python · Issue #439 - GitHub
vscode.executeDocumentSymbolProvider seems to only work once (or at least only once in close succession) microsoft/vscode-python#2112.
Read more >Built-in Commands | Visual Studio Code Extension API
The Keyboard Shortcuts editor lists all commands built into VS Code or contributed by extensions, along with their keybindings and visibility when clauses....
Read more >How to not close the editor window when closing the last tab ...
Simple test: in terminal type "code myfile", this will open code with one tab open. Click the 'x' on the tab to close...
Read more >How to Always Open Files in a New Tab - VSCode.one
So one day while you're hacking away you realize that VS Code just doesn't want to let you keep your file tabs open....
Read more >Visual Studio Code Extensions to Improve Your Productivity
Learn about 10 helpful VS Code extensions. These VSCode extensions could make you more productive as a developer.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Duplicate of #2334
@sandipb feel free to open a new issue