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

outline hangs with each edit #3054

Open
lfg6000 opened this issue Jan 18, 2019 · 2 comments
Open

outline hangs with each edit #3054

lfg6000 opened this issue Jan 18, 2019 · 2 comments

Comments

@lfg6000
Copy link

lfg6000 commented Jan 18, 2019

Type: LanguageService

  • VSCode Version: 1.30.2
  • OS Version: win 10
  • C/C++ ms-vscode.cpptools Preview 0.20.2
  • extension: Platformio ide 1.6.0

Steps to Reproduce:

  1. Open a .cpp file
  2. in outline view click on a method and notice the editor goes to the method in the .cpp file
  3. make an edit in the .cpp
  4. in outline click on a method and notice the editor does NOT go to the method in the .cpp file
  5. notice the blue progress indicator in the outline view title bar is going around
  6. the outline view is unusable while blue progress indicator is active.

It would be good to be able to use the outline view while making lots of edits. At the moment the outline view is not helpful when doing lots of edits.

@bobbrow
Copy link
Member

bobbrow commented Feb 4, 2019

Yes, the Outline view needs more work done on it. Our extension doesn't support it very well right now. We are tracking this with #2230. Can you please go upvote that issue?

@sean-mcmanus
Copy link
Collaborator

@bobbrow This should be unrelated to the document symbol api, which just enables us to supply ranges to symbols, unless perhaps if returning those ranges causes VS Code to send us less symbol requests (which I doubt). After an edit, VS Code sends us a new documentSymbol request so we probably need to optimize that better.

@sean-mcmanus sean-mcmanus reopened this Feb 4, 2019
@sean-mcmanus sean-mcmanus added this to the Triage milestone Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants