Right now if I want to open a file to a specific symbol, the workflow is like this:
rese for requestReset.js→ arrow to open that file:10 to go to line to of the matched filerunReset, I need to backspace the whole line and then type @runResetIt would be awesome if we could like rese@run and it would fuzzy match both the filename and the symbol. And rese:10 would open that same file but to line 10.
Some more examples: https://twitter.com/adamwathan/status/1225819393889882112
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Not a dupe, but thanks kind botty
It would be even better if we didn't have to hit the right-arrow at all, and just type rese@runR to get to the runReset function in the requestReset.js file 👍
Yeah that is what I'm proposing here - do it all in one go. The command palette already has formatting to show both symbols and filenames, so it seems like they aren't that far off:

It's interesting but saving one keypress doesn't really seem worth it to me. For example:
current workflow
vs
@And the cost is complexity and losing the ability to search for a file with @ in the query. Not sure it's worth it. And this feature would be basically invisible.
Also for a real Sublime style experience we would need to open the file on focus which is an old issue: https://github.com/microsoft/vscode/issues/8939
@wesbos how would this work if there are multiple results matching on file name and you then type @, would it simply goto symbol of the first result you had in the list?
It would show a list, just like it works right now if it matches multiple filenames. All this issue is asking is that we expand the matching algo
@wesbos to clarify, assume I type openany and get the following 2 results:
openAnythingHandleropenAnyotherHandlerNow I continue and type openany# to show me some symbols. What happens now? We show the symbols of the 2 files combined that matched before?
Ah! good point - I'd think yes just show all symbols for all matched files. There will obviously be a limit to what can be shown, just like file matching
I think it should show the symbols of the selected file, like Sublime does.

Yes, that makes more sense to me, thanks a lot for sharing this 👍 . One thing where ST is clearly better is that they show a preview of the file in the background so you can even see the contents without having to open the file first. We have this under https://github.com/microsoft/vscode/issues/8939
This was the exact behavior I tried to achieve with the GoToAnything plugin linked above:
@,#,$) that perform symbol lookup within the selected file
The implementation is far from perfect, but so far it worked fine for me. I am considering refactoring to improve performance. If the plan is to add something similar to VSCode that would be awesome!
The preview tab requires a lot more infrastructure in the workbench to not mess up with the history and layout etc. I like how ST does it by not even opening a tab for the preview editor. We simply do not have such a concept on the workbench editor level yet.
I am sure we can implement this feature without preview tabs btw to begin with.
Sounds good to me.
The way I use this feature mostly is for quickly browsing the declared functions/methods in the selected file without opening it. Most of the time finding the name of the symbol is more than enough. The preview is just nice add-on at this point.
Another useful feature is being able to copy the name of the highlighted symbol directly from the quick pick.
One thing I was considering is adding the line of code, where the symbol is declared, in the result details section (the second row in each option). Just an idea.
Current thinking:

Will be available in tomorrows insider build when you configure "workbench.quickOpen.enableExperimentalNewVersion": true
Some loose ends:
It does also work with symbols if you configure "search.quickOpen.includeSymbols": true
Most helpful comment
Not a dupe, but thanks kind botty