zoukankan      html  css  js  c++  java
  • AS ShortCut

    Ctrl+Alt+L reformat Code
    Ctrl+shift+/ comment/uncomment lines and blocks(/**/)
    Ctr+/ comment/uncoment current line or blocks(//)
    Ctrl+D in the editor duplicates the selected block or the current line when no block is selected.

    Ctrl+E (View | Recent Files) recently visited files.

    itar..+Tab Live Templates

    Ctrl+Space Basic Code Completion

    Ctrl+Shift+Space Smart Completion

    Ctrl+Shift+Enter Statement Completion(parentheses,brackets,braces...)

    Ctrl+P brings up a list of valid parameters

    Ctrl+F12 view the current file structure

    Ctrl+N search for and navigate to a specific class in the project

    Ctrl+Shift+N navigate to a file or folder

    Ctrl+Shift+Alt+N navigate to a method or field by name

    Ctrl+Shift+Backspace (Navigate | Last Edit Location) brings you back to the last place where you made changes in the code.

    Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.

    Ctrl+Shift+J joins two lines into one and removes unnecessary space to match your code style.

    Ctrl+Shift+V to choose and insert recent clipboard contents into the text.

    Alt+F7 find the pieces of code referencing the class, method, field, parameter, statement
    Alt+Enter quick fix and show intention actions

    F3 and Shift+F3 to navigate through highlighted usages. Esc to remove highlighting.

    Code | Reformat Code to reformat code according to your code style preferences (File | Settings | Code Style).

    Code | Optimize Imports to automatically optimize imports (remove unused imports, etc.). (File | Settings | Code Style | Imports).

    Alt+Q (View | Context Info) to see the declaration of the current method without the need to scroll to it.

    F2/Shift+F2 keys to jump between highlighted syntax errors.

    Ctrl+Alt+↑ /Ctrl+Alt+↓ to jump between compiler error messages or search operation results.

    Alt+↑ and Alt+↓ keys to quickly move between methods i

    To skip warnings right click on the validation side bar / marker bar and choose Go to high priority problems only.

    Ctrl+J to complete any valid Live Template abbreviation if you don't remember it.

    Eclipse
    F6 逐行追踪
    F5 进入方法
    F7 跳出方法
    F8 下一个断点或结束debug
    字典类map 方法put/get

  • 相关阅读:
    Android录制音频的三种方式
    LeetCode Maximum Gap
    Android中BroadcastReceiver组件具体解释
    shell命令技巧——文本去重并保持原有顺序
    HDU 1284 钱币兑换问题(全然背包:入门题)
    【物联网云端对接-1】 通过HTTP协议与微软Azure IoT hub进行云端通信
    LoRa无线通信设计(一)原理
    leetCode 77.Combinations (组合)
    USACO4.2.1 网络流最大流算法
    [error:没有解析库]Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
  • 原文地址:https://www.cnblogs.com/dennysong/p/7542667.html
Copyright © 2011-2022 走看看