开发者

IntelliJ center next occurrence

开发者 https://www.devze.com 2023-03-29 01:27 出处:网络
In IntelliJ when searching for text (Control-F), F3 moves to the next occurrence. Unfortunately when it finds the next occurrence, it doesn\'t vertically center the text. ie, it scrolls the editor suc

In IntelliJ when searching for text (Control-F), F3 moves to the next occurrence. Unfortunately when it finds the next occurrence, it doesn't vertically center the text. ie, it scrolls the editor such that the next occurrence is at the bottom of the screen. What I want is for it to scroll such that the next occurrence is centered vertically (like Eclipse and vim does).

I'm running IntelliJ 10.5.1 on OS X 10.6.

Follow-up: I have Prefer scrolling editor canvas to keep caret line centered enabled. In some instances it centers, other times it does not. The above set开发者_C百科ting doesn't seem to impact this behavior.


Settings > IDE Settings > Editor

Choose Prefer scrolling editor canvas to keep caret line centered

0

精彩评论

暂无评论...
验证码 换一张
取 消