Intellij IDEA record a shortcut (jump and look for positioning)

1, alt + digital jump inside the window

 

The way marked the beginning of the digital place, can be carried out using alt + jumped into the digital way, such as when writing code right project directory closed, direct alt + 1 can be quickly opened, and the mouse will move the focus of which can be switching the keyboard arrow keys file, and press esc, the cursor returns to the coding region, other regions of the same operation, it can be done with good hands on the keyboard.

2, Ctrl + alt + [jumps multi-window switching, i.e. jump between items

Sometimes, more than one working window may open, normal switching is alt + tab, but he comes with the system, when we open a lot of software, and then he switched it can be troublesome.

There are two, Next and Previous window is switched under the window idea menu, shortcut keys marked on the back.

3, file Jump

find action, he can help us quickly find the corresponding shortcut action, he generally corresponding shortcut key ctrl + shift + a

When we need to find recently viewed file, first open the ctrl + shift + a search, enter Recent files

Press Ctrl + E, open the file browser window will show you've opened recently, is useful.

Edited before if I need to look at me the same way, the first to open the ctrl + shift + a search, then enter Recent Changed Files, find his shortcuts, usually Ctrl + Shift + E. Which will be screened edited changed files.

4, modify the location of the file Jump Jump

For example, after editing a file, edit the b file now, suddenly have to return to a place editing.

alt + left and right arrow keys, ctrl + q can do, but there are nuances to return to the former position last visit, which only modify the location to find the last time

5, bookmark Jump

First ctrl + shift + a open search, enter bookmarks, and then press Enter

Fight bookmark cursor line, press ctrl + shift + F11 on labeled on, press the revocation, a second tag with the serial number, you can specify the number of labels, and this with a number of bookmarks can jump, ctrl + number corresponding to the bookmark.

Bookmark and played a lot how to do it, alt + 2 This article is the first part of the legend marker 2, you can see all your bookmarks.

6、收藏功能

比如收藏一个文件,一个方法。

先ctrl+shift+a 打开搜索,再输入Add To Favorites ,会出现快捷键,我的是alt+shift+f。

按下快捷键会出现两个选项,第一个是将当前文件加入已有列表,2是在左侧创建新的列表,收藏某个方法的时候只需要光标停在方法名上就可以,左侧会展示收藏内容。

7、精准查找

查找文件,上图第一个 class  ,输入文件名查找对应的class文件, flie查找啥文件给名就能查,symbol这个是全局查找函数、变量的。

还有一个字符串的查找,

全局查找字符串所在位置。

 

 

 

 

Guess you like

Origin www.cnblogs.com/tmxk-qfzz/p/11825851.html