IntelliJ快捷方式,我找不到 [英] IntelliJ shortcuts that I can't find

查看:145
本文介绍了IntelliJ快捷方式,我找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vim一段时间(我知道有一个intellij vim插件),我很好奇内置的IntelliJ文本导航是什么?

I was using vim for a while (I know there is a intellij vim plugin), and I am curious what the built in IntelliJ text navigations exist?


  1. 如何打开实时模板来创建模板?

  2. 如何查看以'tr'开头的模板列表

  3. 如何在当前文档中执行全局搜索和搜索? (然后转到下一个)

  4. 如何查看方法的返回类型?

  1. How can I open up live templates to create a template?
  2. How can I see a list of templates that exist that start with 'tr'
  3. How to perform a global search and search in current document? (and then go to next)
  4. How to see the return type of a method?

我很感激指导!

PS你想分享任何很酷的文字导航短片吗?

P.S Any cool text navigation shortucts you want to share?

PPS你可以将单元测试窗口拉出编辑器并移动到另一台显示器吗?

更新

我在Mac上

推荐答案

重新PPS:是的;点击右上角的齿轮齿轮/设置,取消它。

Re PPS: Yes; click on the gear cog/settings in the upper-right, undock it.

它没有做想要它做的事情,但它是一个完全独立的窗口,但是,它是一个PITA。您可以随时使用 CMD + 4 返回。

It doesn't do what I want it to, which is act as a completely independent window, however, which is a PITA. You can always get back to it with CMD+4.

不确定什么是酷,我经常使用这些:

Not sure what qualifies as "cool", I use these a lot:


  • CMD + F12 ,快速大纲

  • CMD + W ,选择块(随后按下时加宽)

  • CMD + D ,重复当前行(或选择,包括方法等)

  • < kbd> CTRL + ] ,将插入符号移到代码块结尾(和CTRL - [)

  • SHIFT + < kbd> RETURN ,在当前下方打开新行并移动光标

  • CMD + - CMD + = 折叠,展开区域, SHIFT +那些是整个缓冲区。

  • CMD+F12, quick outline
  • CMD+W, select block (widens on subsequent presses)
  • CMD+D, duplicates current line (or selection, including methods, etc.)
  • CTRL+], move caret to code block end (and CTRL-[)
  • SHIFT+RETURN, open new line below current and move cursor
  • CMD+-,CMD+= collapse, expand region, SHIFT+those does whole buffer.

这篇关于IntelliJ快捷方式,我找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆