106.To compare two directories, select one or both of them in the Project view and press Ctrl+D.

    107.To compare two jar files, select one or both of them in the Project view and press Ctrl+D.

    108.If you need more workspace, you can hide the tool windows bars: click in the lower left corner. If necessary, you can show the tool window buttons just for a moment. To do that, press the key Alt (for Windows/*nix) or Command (for Mac) twice and keep it down. While the key is pressed, the tool window buttons are visible.

    1. You can exclude any file from your project. As a result, such a file will be ignored by indexing, inspection and code completion. In the Project tool window, select the file you want to ignore, and choose Mark as plain text in its context menu. If necessary, you can always return the file to its original type using the Mark as context menu command.

    110.When using basic code completion (Ctrl+空格), you don’t need to type upper-case letters in CamelHump names. It is enough to type the initial letters of the camel names in lower case, and they will be smartly recognized.

    空标题文档 - 图1

    111.The keyboard shortcut Ctrl+K enables you to quickly invoke the Commit Changes dialog. This dialog shows all modifications in project, gives summary information of file status and suggests improvements before check-in.

    112.It is very easy to toggle between find and replace functionality. When you perform search and replace in a file, pressing Ctrl+F shows the search pane. Pressing Ctrl+R adds field, where you can type the replace string. While in the Find in Path dialog, you can switch to replace by pressing Ctrl+Shift+R. Same way, press Ctrl+Shift+F to hide the Replace with field, and switch to mere search.

    113.If you are working on a large project, with numerous TODO items, filter them by scopes. Use the Scope-Based tab in the TODO tool window to show only those items that pertain to the scope of interest.

    空标题文档 - 图2

    114.TODO tool window lets you preview each of the encountered TODO items - just click the preview button on the toolbar.

    空标题文档 - 图3

    115.If a method signature has been changed, IntelliJ IDEA highlights the tags that ran out of sync with the documentation comment and suggests a quick fix:

    空标题文档 - 图4

    116.When working with a lengthy list of tasks, you don’t need to delete them one by one. Select several tasks, using Shift or Control/Command keys, click the right arrow, and then click Remove.

    空标题文档 - 图5

    117.If there are too many run/debug configurations of the same type, you can group them into folders, and thus distinguish them visually.

    空标题文档 - 图6

    118.In the Live Templates settings, use speed search to find templates with certain text in the template abbreviation, body or description. Start typing the desired text, and the list of available templates will shrink to show matching templates only:

    空标题文档 - 图7

    119.You can avoid escaping backslashes in your regular expressions. Start typing a regular expression, then press Alt+Enter and choose Edit RegExp. The regular expression opens in a separate tab in the editor, where you can type backslashes as is. All changes are synchronized with the original regular expression, and escapes are presented automatically. When ready, just press Esc to close the regular expression editor.

    空标题文档 - 图8

    120.Speed up HTML, XML or CSS development with Emmet. Enable this framework in the Emmet(Zen Coding) page of the Settings dialog:

    空标题文档 - 图9