Intellij IDEA 每日提示集锦-201808

Intellij IDEA 每天的 tip of the day 的翻译,每日翻译一个,这里是 2018 年 8 月份的tip of the day。

2018-08-24

Use F2/⇧F2 keys to jump between highlighted syntax errors.
Use ⌥⌘↑/⌥⌘↓ shortcuts to jump between compiler error messages or search operation results.
To skip warnings right click on the validation side bar / marker bar and choose Go to high priority problems only.

使用 F2/shift+F2 键可以在高亮的错误间跳转。
使用 option+command+↑/option+command+↓ 可以在 编译错误 或者 搜索结果 间跳转。
如果需要在跳转时忽略警告信息,右键点击侧边栏的校验错误或标记,选中 Go to high priority problems only(仅跳转高优先级问题) 选项

2018-08-25

When using basic code completion (⌃Space), type any characters that exist anywhere in an identifier.

当使用基本的代码补全(Control+Space),可以输入要匹配内容的任意一个字符。

2018-08-26

Use ⌘J to complete any valid Live Template abbreviation if you don’t remember it. For example, type it and press ⌘J to see what happens.

如果你忘记了 Live Template 的缩写,你可以使用 Commond+J 来补全它。例如,输入it并按Commond+J,可以看看会发生什么。

2018-08-27

To show separator lines between methods in the editor, open the editor settings and select the Show method separators check box in the Appearance page.

要在编辑器中的方法之间显示分割线,可以打开editor settings,在Appearance页选中Show method separators

2018-08-28

⌃⇧J shortcut joins two lines into one and removes unnecessary space to match your code style.

Control+Shift+J 快捷键作用:将两行合并为一行,并移除不必要的空格来适应您的代码格式。

2018-08-29

Use ⌃↑ and ⌃↓ keys to quickly move between methods in the editor.

使用 Control+↑ 和 Control+↓ 快速在编辑器中的方法之间跳转。

2018-08-30

Use Refactor | Copy to create a class which is a copy of the selected class. This can be useful, for example, when you need to create a class which has much in common with some existing class and it’s not feasible to put the shared functionality in a common superclass.

使用菜单 Refactor | Copy 来创建当前类的一份拷贝。这很有用,例如,当你需要创建一个类的时候,这个类和已存在的一个类很相似,但是又不可能将相同的部分放到一个公共的父类里面。

2018-08-31

Use the ⇧⌘V shortcut to choose and insert recent clipboard contents into the text.

使用 shift+command+v 键打开最近剪贴板记录,来选择并将记录插入到编辑器中。

posted @ 2018-08-24 00:56  六楼的雨  阅读(28)  评论(0编辑  收藏  举报