vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

"Go to symbol in workspace" very slow

Open princehektor opened this issue 8 years ago • 25 comments

Type: LanguageService

Describe the bug

  • OS and Version: Ubuntu 16.04, 64bit
  • VS Code Version: 1.27.2
  • C/C++ Extension Version: 0.19.0
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce

  1. 'Go to symbol in workspace' is very slow and doesn't support fuzzy search . This is in comparison to Sublime Text on the same project (I recently started using VS Code)

However 'Go to symbol in file' is super quick and does support fuzzy search.

Is there a way to extend this functionality to the 'Go to symbol in work space' as well ?

Expected behavior 'Go to symbol in work space' is fast and supports fuzzy search (like Sublime)

Screenshots

Additional context

princehektor avatar Oct 08 '18 23:10 princehektor

@rcdailey The work hasn't been scheduled.

We added Find All References (https://github.com/microsoft/vscode-cpptools/releases/tag/0.25.0-insiders2) -- that might give a better experience? It requires that all the files be configured correctly for IntelliSense though, unless the symbol search.

The "Type to search for symbols" UI behavior is controlled by VS. Find All References has a better progress UI with preview abilities. Maybe we could improve the symbol search somehow as well with a better progress indicator like we did for Find All References.

sean-mcmanus avatar Aug 17 '19 02:08 sean-mcmanus

@sean-mcmanus Actually "Go to symbol in workspace" fuzzy search is not good as "Go to file".

"Go to file" can do this: image

"Go to symbol in workspace": image quotalink should have results like: image

wgqimut avatar Aug 26 '19 07:08 wgqimut

@wgqimut We're tracking fuzzy symbol search with https://github.com/microsoft/vscode-cpptools/issues/2751 .

sean-mcmanus avatar Aug 26 '19 22:08 sean-mcmanus

We had a plan to do the expensive caching computation in the background after extension loading instead of on the 1st invocation of Go to Symbol in workspace.

I'm also facing the same problem. Would be glad to see this implemented.

magdumnikhil avatar Dec 11 '19 07:12 magdumnikhil

Why was this closed?

rcdailey avatar Jun 09 '20 22:06 rcdailey