91.IntelliJ IDEA lets you jump from your check-in comment to an issue in your task tracker. All you have to do is to define issue navigation patterns in the Settings | Version Control | Issue Navigation dialog:

    在IntelliJ IDEA中,你可以通过在检入注释中嵌入链接的方式,快速的跳转到任务跟踪器
    做法很简单,通过以下菜单路径打开问题导航编辑对话框,定义好一个正则表达式,它将供IntelliJ IDEA 识别你的注释中用于标注问题id的部分。

    设置 | 版本控制 | 问题导航

    空标题文档 - 图1

    When you commit a changelist, and type the check-in comment, make sure it matches one of your issue navigation patterns. Later, when you browse through the changelists in the repository, such comments turn into hyperlinks:

    当你在提交changelist的时候,请键入与问题导航正则相匹配的文本。
    编辑完成后,如果从仓库中浏览这些changelist,会发现那些检入注释已经被替换成其在任务跟踪器中的完整链接。

    空标题文档 - 图2

    Clicking a hyperlink brings you directly to an issue in your task tracker.

    点击某一个链接后,你会被直接引导到你的任务跟踪器中。

    92.IntelliJ IDEA simplifies your work with colors in CSS files. The color properties have the icons of the corresponding color in the left gutter area of the editor. Click color icons to choose the desired color from the color picker.

    IntelliJ IDEA 显著地简化了你在CSS文件中设定颜色的工作。每一种css颜色编码都会将其对应的色彩以色块图标的形式,显示在编辑器左侧的沟带区域中。
    单击这些色块图标后,就可以方便的在其下方的色彩选择器中,任意设定想要的颜色编码。

    空标题文档 - 图3

    93.IntelliJ IDEA helps create test cases directly from class declaration. With the caret at the class name in the editor, press Alt+Enter, and choose Create Test from the suggestion list:

    IntelliJ IDEA支持在声明类的同时,直接建立该类的测试用例。
    在编辑器中,当光标对齐到类名时,你可以键入Alt+Enter,调用系统的自动补齐功能,从而唤出建议列表,从中选择Create Test即可

    空标题文档 - 图4

    94.You can easily make column selection by dragging your mouse pointer while keeping the Alt key pressed.

    按住Alt键,并且拖动鼠标,即可实现多列选择

    空标题文档 - 图5

    95.You don’t need to guess which index.html file you are looking at… Make the editor tabs and lines in navigation lists stand out using the File Colors page of the project settings.

    空标题文档 - 图6

    96.If nothing is selected in the editor, and you press Ctrl+C, then the whole line at caret is copied to the clipboard.

    编辑器中,在没有选中任何内容的情况下点击Ctrl+C,则光标所在行将成为默认的选取内容,被拷贝到剪贴板中

    97.You can move any file to a changelist of your choice. To do that, just choose Move to Another Changelist on the file context menu in the Changes tool window:

    你可以根据需要将文件移入到合适的变更列表中。
    变更工具窗口选择某一文件,激活右键菜单,单击移入其他列表,即可完成操作

    空标题文档 - 图7

    98.Keep your source code typo-free with the help of the built-in Spellchecker. All texts, including comments, textual strings and literals, are inspected against the pre-defined dictionaries. All typos are highlighted, which leaves you with the task of choosing the correct word, accepting the current spelling, or disabling inspection. Use Alt+Enter to see the list of available actions.

    充分利用内置的拼写检查器可以保证你的拼写准确无误。
    所有的文本,注释,文本性质的字符串,文字,都是预置字典的检查对象。任何拼写的异常都会被特殊标记出来,留给你一个复查的机会。你可以选择性的执行纠正拼写,不做修改,或者取消拼写检查等操作。

    键入Alt+Enter可调出完整的操作列表。

    99.If you lack words in the pre-defined dictionaries, you can create your own ones. A custom dictionary is a mere textual file with a .dic extension, with each word starting on a new line. All you have to do is to point to the directories where your dictionaries are stored, in the Spelling of the Settings dialog.

    如果你发现预置字典遗漏了部分单词,那么你完全可以建立自己的字典。
    一个自定义字典,本质上是一个小型的文本文件,以.dic为文件名后缀,文件内容的格式是每个单词独占一行。
    激活自定义字典的方法是:在设置对话框的拼写选项卡中,指定单词文件的位置。

    100.All your most indispensable VCS commands are just one-click away… Choose VCS | VCS Operations Popup on the main menu, and get a popup with the VCS commands that are relevant to the current context:

    你和那些重要的VCS命令之间,只有一次单击的距离。。。

    选择主菜单的 VCS | VCS Operations Popup,在随即弹出的窗口中,所有与当前工作状态紧密相关的VCS命令都列了出来

    空标题文档 - 图8

    101.Use the Switcher (Ctrl+Tab) to switch between open files and tool windows. Keeping Ctrl pressed, use the Up and Down arrow keys, Tab or Shift+Tab, Alt for navigation; use Delete or BackSpace to close editor tab or hide a tool window.

    使用Ctrl+Tab可激活切换器,它的作用是在多个不同文件和工具窗口中自由切换
    切换器中进行导航操作的方法是:按住Ctrl不放,再敲击上/下方向键,或者Tab/Shift+Tab 键,或者Alt键,以上三者均可。
    切换器中关闭某一个编辑器或者隐藏某一个工具栏的方法是:按住Ctrl不放,再敲击Delete或者BackSpace,以上二者均可。

    空标题文档 - 图9

    102.You can easily open an external file for editing, if you just drag it from the Explorer or Finder to the editor.

    任何从外部浏览器或者搜索框拖入到编辑器的文件,都可以马上开始编辑。

    空标题文档 - 图10

    103.There are two ways of closing all tabs in the editor, except the current one: • First, right-click the editor tab, and choose Close Others on the context menu. • Second, keeping the Alt key pressed, click on the editor tab.

    如果你想关闭处当前窗口外的所有窗口,这里提供2仲操作:
    • 第一种,右键单击编辑窗口的Tab,从弹出菜单中选择关闭其他
    • 第二种,按下Alt键,单击编辑窗口Tab的X图标

    空标题文档 - 图11

    104.You can jump directly to any deeply buried file, if you press Ctrl+Shift+N, and type just a couple of characters of the enclosing directories and file names:

    无论一个文件深藏在多么复杂的目录结构中,你都可以快速打开它。按住Ctrl+Shift+N,随后键入文件目录和文件名字的一些关键字即可

    空标题文档 - 图12

    105.To open any class or file in the editor at the desired line, press Ctrl+Shift+N (Navigate | File), start typing the name, and choose the one from the suggestion list. Then type the colon (:) and a line number. The selected file will open with the caret at the specified line.

    如何在打开一个类或者文件的同时,定位到指定的代码行?
    按住Ctrl+Shift+N(导航 | 文件),录入文件名字,随即从建议列表中选择一个文件。接下来继续输入一个:号,最后输入行号。

    空标题文档 - 图13

    106.Version control annotations show the latest changes of each line in one click. Just right-click an annotation and use the Show Diff command in the context menu.

    版本控制注释的作用是通过一键点击即可查询到每一行内容的最新修改。
    右键点击某一个注释,从弹出菜单中选择显示变更点

    空标题文档 - 图14