How can I find the particular file in a Project/Folder in Sublime Text
Solution 1:
You can use the Goto Anything feature (Ctrl+P on Windows and Linux, Cmd+P on macOS) and type the name of the file you're looking for. If there are multiple hits, you can select the appropriate file using cursor keys. It also supports powerful operators, that let you jump to specific parts inside a file.
Examples:
-
file.js
opens that file -
:100
jumps to line 100 in current file -
file.js:100
jumps to line 100 infile.js
-
@loadFile
lists all files with classes/functions namedloadFile
(shortcut: Ctrl+R, Cmd+R on macOS) -
file.js@loadFile
jumps to aloadFile()
infile.js
Solution 2:
This can be done using:
Windows:
Ctrl + P
Mac:
Cmd + P
It works much like ItelliJ's Shift - 2 times
, with a faster and accurate prediction.