IDEA常用快捷键

  1. Ctrl+Shift+Backspace (Navigate | Last Edit Location) brings you back to the last place where you made changes in the code.
  2. Use Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.
    Use F3 and Shift+F3 keys to navigate through highlighted usages.
    Press Esc to remove highlighting.
  3. Press Alt+Q (View | Context Info) to see the declaration of the current method without the need to scroll to it.
  4. Use F2/Shift+F2 keys to jump between highlighted syntax errors.
  5. Use Ctrl+Alt+向上箭头/Ctrl+Alt+向下箭头 shortcuts to jump between compiler error messages or search operation results.
  6. Use Ctrl+J to complete any valid Live Template abbreviation if you don’t remember it. For example, type it and press Ctrl+J to see what happens.
  7. When using basic code completion (Ctrl+空格), type any characters that exist anywhere in an identifier.
  8. Use Alt+向上箭头 and Alt+向下箭头 keys to quickly move between methods in the editor
  9. Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary space to match your code style.
  10. To see the inheritance hierarchy for a selected class, press Ctrl+H (Navigate | Type Hierarchy).
  11. To easily evaluate the value of any expression while debugging the program, select its text in the editor (you may press a Ctrl+W a few times to efficiently perform this operation) and press Alt+F8.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值