With WebStorm, here is how I find the file containing a specific word. I painfully
- global-search a word,
- click open the file, then
- memorize its path and try to
- click my way down the folder structure.
There must be an easier way!
With WebStorm, here is how I find the file containing a specific word. I painfully
There must be an easier way!
Once file is opened/current, locate it in folder structure by clicking on the icon, shown (called 'scroll from source')
enjoy!
There is a Scroll from source button in the Project view toolbar
it selects the currently opened file in the project tree. Also, you can assign a preferred shortcut to Select in Project View action in Settings | Keymap | Other
.
Another option is using Navigate | Select in... | Project View
.
Note that you can enable auto-scrolling from source for all files: open Project View options dropdown and choose the Autoscroll from source - when it's enabled, current file is auto-selected in the Project view on opening.