PhpStorm 将插入符移动到下一个空行
我习惯了许多编辑器中的键盘快捷键 Ctrl DOWN
,它将插入符号(光标)跳转到代码中的下一个空白行。这允许快速导航代码。
也许我完全错过了它,但是“将插入符移动到下一个空白行”或类似的操作并不在编辑器的键盘映射列表中。
您知道是否有这样的选项,如果没有,您能推荐一种浏览代码的好方法吗?当我移动代码时,“将插入符移动到代码块开始”对我来说不是很直观,而且简单的向上翻页、向下翻页太粗糙了。
编辑:正如@CrazyCoder所说,此功能似乎不可用。我已在 YouTrack 上添加了该票证。如果您也对此功能感兴趣,请投票。
I'm used to the keyboard shortcut Ctrl DOWN
in many editors that will jump the caret (cursor) to the next blank line in the code. This allows for quick navigation of the code.
Perhaps I completely missed it, but the action of "move caret to next blank line" or something like that is not in the Keymap list for the editor.
Do you know if such an option is there, and if not, can you recommend a good way to navigate the code? "Move Caret to Code Block Start" is not very intuitive to me when I'm moving about the code and the simple page-up, page-down are too coarse.
Edit: As @CrazyCoder says, this feature does not appear to be available. I've added a ticket for it on YouTrack. If you are also interested in this feature, please vote it up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
自 2015 年 10 月 9 日起,出现了
将插入符号向后移动一个段落
和将插入符号向前移动一个段落
(来源)。Since the 10/09/2015, there is the functions
move caret backward a paragraph
andmove caret forward a paragraph
(source).PhpStorm(以及它所基于的 IntelliJ IDEA 平台)中没有这样的功能,令人惊讶的是还没有人请求它。请随时添加您的功能请求。
如果您正在寻找最常见的导航快捷方式列表,请参阅默认键盘映射参考,您可以从欢迎屏幕中打开它,打印出来,折叠成金字塔形并放在桌子上。
There is no such feature in PhpStorm (and in IntelliJ IDEA platform that it's based on) and surprisingly no one has requested it yet. Feel free to add your feature request.
If you are looking for the list of the most common navigation shortcuts, refer to the Default Keymap Reference that you can open from the Welcome screen, print, fold into a pyramid and put on your desk.