Use Ctrl + P
, its a GoTo Anything Popup:-
-
Type, to search through files (open files, recently closed files, and files in open folders)
-
@foo
, to search through symbols in the current file -
:foo
, to go to the given line number -
#foo
, to do a fuzzy search in the current file for foo
These can be combined: foo@bar
will search for the file that best matches foo
, and go to the symbol in that file that best matches "bar". foo:100
would go to line 100 of the same file. You can use this to preview a location in another file, then hit escape to go back to where you where.