I have sầu looked around & couldn"t find anything that points to this as an option.
Bạn đang xem: Phpstorm


Here is a nice feature: Autoscroll lớn Source and Autoscroll from Source.
It is available in all IntelliJ products .



On Demand
Should be used if you bởi not like when your Project View panel gets changed/moves without your consent.Xem thêm: Món Fajitas Là Món Gì ? Định Nghĩa Của Fajita Là Gì Món Fajitas Là Gì
Navigate | Select in... | Project View
Alt+F1, 1 for Windows/Linux
⌥+F1, 1 (or fn+⌥ Opt+F1, 1) for Mac OS
You may also cliông chồng on "target like" inhỏ on actual Project View panel with your mouse:

If you wish khổng lồ use shorter/single shortcut instead of standard 2-step shortcut:
install "Extra Actions" pluginassign custom shortcut lớn newly provided "Select in Project" actionAs of some 2017.x version (or maybe even năm 2016.x) the IDE has own dedicated Select in Project View action (so no need for additional plugin). You can find it in Keymaps under the Other branch (hint: use search box to lớn narrow the list).
Automatically
Can be used if you vì not mind (or even want) to have Project View panel keep focused on currently edited file (so it scrolls/moves up & down/expands when needed).
NOTE: with frequently switching between the files (e.g. CSS & HTML) when you have sầu a lot of files in your project such "scrolling" may become quite annoying pretty fast (especially if such files are located in the invisible-right-now part of the project tree).
Activate Autoscroll from Source option in Project View panel (right clichồng on tool window header bar/title or use menu under "gear" icon):

In modern versions (20trăng tròn.3 và newer) that option was renamed & is now called Always Select Opened File: