Reputation: 73
I am missing this feature from Sublime Text so much. Go to Symbol in Workspace feels so close to it and yet so far away.This is very useful in the following examples:
You have many classes that have the same symbol/function name, Pre-filtering the file lets you jump to the exact definition very fast
You know the name of the file, but you are not sure about the exact symbol/function name. Fuzzy searching it is super fast
You want to quickly preview the available symbols/functions in a given file
Here is a sample video demonstrating this feature in Sublime Text:
https://youtu.be/48f3N0hCaBU?t=109
If this is not currently possible, is it possible to implement as extension?
Upvotes: 2
Views: 165
Reputation: 182771
This is being added in v1.44. See https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_44.md#navigate-from-files-into-symbols
You can now continue to navigate into symbols of a file result simply by typing
@
. For the file that is currently selected, all symbols will appear and the editor will open in the background to reveal the active symbol.
Upvotes: 1
Reputation: 73
I created an extension that provide similar functionality: https://marketplace.visualstudio.com/items?itemName=Cmacu.gotoanything
Upvotes: 0