Idea Intellij 常用快捷键
Navigation
- Ctrl-N — Goes to class, can go by first letter / toggle by project files
- Can use first letter of class name, i.e. FooBarFactory as FBF
- Can use pattern / regex to filter
- CN:40, go to line 40 in file
- Ctrl-Shift-N — Goes to class / toggle by project files
- Can go to folder by doing ‘/baz_folder'
- Ctrl-Shift-Alt-N — Any symbol
- Can filter by namespace, i.e. FBF.getFoo
- Alt-1 — Project Structure (Folders), can use keyboard to navigate / find by word
- Double-press Shift — Search everywhere
- Alt-7 — Project Structure sidebar (Symbol based)
- Ctrl-F12 — Project Structure popup
- Ctrl-E — Recent files
- Ctrl-Shift-E — Recently edited
- Ctrl-Tab — Quick switch
- Alt-Home — Jump to navigation bar
- Navigate with keys
- Use new file shortcut (Ctrl-N) to popup new file dialogue within dir
- Ctrl-B — goto definition
- Ctrl-Shift-I — Quick definition popup
- Ctrl-P — Parameter info
- Ctrl-U — Super definition
- Ctrl-Alt-B — Go to implementations
- Ctrl-Alt-Left / Ctrl-Alt-Right — navigate file history
- Ctrl-Shift-F7 — highlight usages in file
- Can use on return / throw
- Ctrl-Shift-F12 — hide / restore all windows
- Ctrl-Shift-P — Presentation mode
- Can search in settings
- Shift-F4 — open current file in new window
- Ctrl-Shift-Left / Ctrl-Shift-Right resize window you’re in
Editing code
- Ctrl-. — Fold section
- Ctrl-W — Expand section @ caret, (expands via word essentially)
- Ctrl-Shift-W — Reduces section @ caret
- Ctrl-Shift-Enter — Complete current statement
- Adds semicolon, blocks, etc
- Ctrl-D — Duplicate
- Ctrl-Shift-V — Clipboard history
- Alt-Shift-Click / Double Click Ctrl Up / Down — create new cursor
- Alt-J — Select next occurrence
- Alt-Shift-J — Select all occurrences
- Alt-Shift-Up / Down — Move selection
- Ctrl-Alt-L — reformat code
- Will format based on code style
- Use / Create Templates
- Ctrl-Space — Basic completion (text based)
- Ctrl-Shift-Space — Smart completion (i.e. show things you can instantiate at a given time)
- Alt-Enter — Intention popup
- Shift-Tab — On type , can switch to superclass, will automatically select that after ??? times
- Postfix completion — foo.notnull expands to a wrapped if, defaults include null, notnull, throws
Code Generation
- Alt-N — generators (toString, constructor, etc)
- toString + tab
- table#something — expand html
- ul>li*10 — 10 list elements
- F2 / Shift-F2 — next highlighted error
- Ctrl-Shift-Alt-T — Refactor menu
- Specialized refactoring is more context sensitive
Misc
- Teaches functional stuff in Java 8
- Questionable naming inspector
- Ctrl-Shift-S — structural search and replace
- Holy god this is complicated
- Ctrl-Shift-A — Search for shortcut
- Ctrl-K — commit
- Can create quick lists
- Ctrl-` — Quick switch keymap
- Can activate NPM require support
- Productivity guide from Help
转载于:https://www.cnblogs.com/yyh19890221/p/4452929.html
Idea Intellij 常用快捷键相关推荐
- IDEA(IntelliJ IDEA)+常用快捷键(short cuts)
IDEA(IntelliJ IDEA)+常用快捷键(short cuts) IntelliJ idea(以下简称idea) 是目前最好用的代码编辑器之一.掌握idea的快捷键是一项很重要的能力,虽然不 ...
- [Intellij] 软件设置和常用快捷键
理解Project 和 Module 一个 Project 是由一个或多个 Module 组成,模块之间尽量是处在同一个项目业务的的情况下,彼此之间互相依赖关联.如:Project : spring- ...
- 转 Intellij中的常用快捷键
转自:http://www.cnblogs.com/mingforyou/archive/2012/02/28/2372663.html Alt+回车 导入包,自动修正 Ctrl+N 查找类 Ct ...
- IntelliJ IDEA常用快捷键小结
IntelliJ Idea 常用快捷键列表 Ctrl+Alt+t 选择代码块 try catch Alt+回车 导入包,自动修正 Ctrl+N 查找类 Ctrl+Shift+N 查找文件 Ctrl+A ...
- IntelliJ Idea 常用快捷键 列表
IntelliJ Idea 常用快捷键 列表(实战终极总结!!!!) 1. -----------自动代码-------- 常用的有fori/sout/psvm+Tab即可生成循环.System.ou ...
- IntelliJ IDEA 常用快捷键和设置
实用快捷键: Ctrl+/ 或 Ctrl+Shift+/ 注释(// 或者/*...*/ ) Ctrl+D 复制行 Ctrl+X 删除行 快速修复 alt+enter (modify/cast) 代码 ...
- IntelliJ IDEA常用快捷键——基于Eclipse
IntelliJ IDEA常用快捷键--基于Eclipse PS:自己使用的,有些需要修改快捷键. Mac与Windows按键对比 ^ = Ctrl ⇧ = Shift ⌥ = Alt ⌘ = Win ...
- IntelliJ Idea 常用快捷键 (经过测试)
IntelliJ Idea 常用快捷键 经过测试 笔者用了8年多的Eclipse,新工作都在用IDEA,虽然可以设置keymap为Eclipse风格,但是用起来还不是很顺手.索性就总结下IDEA的快捷 ...
- IntelliJ Idea学习笔记001--- IntelliJ Idea常用快捷键列表
1. -----------自动代码-------- 常用的有fori/sout/psvm+Tab即可生成循环.System.out.main方法等boilerplate样板代码 例如要输入for( ...
最新文章
- .net 4.0下载
- 你有遇到过MySQL因大小写敏感导致的问题吗
- BootStrap入门教程 (四)
- 自用Excel VBA技巧整理
- django09: ORM以及CSRF(旧笔记)
- php使用webservivce_使用zeng studio 创建的php调用webservice soap简单实例
- String 源码探究
- 效率 用div做表格和tr_表格也能用Word做?别不信,利用这些小技巧分分钟做出完美表格...
- mac版本 sadptool_【Koala 工具】设备调试相关工具集锦
- linux下各种后缀名文件的压缩和解压缩
- 自动控制——2、为什么用微分方程来表示线性定常系统
- android 背景渐变颜色代码,Android开发——实现背景颜色渐变效果
- python解析pdf乱码,python pdfkit 中文乱码问题的解决方案
- android 电视 竖屏 黑边 -平板,竖视频转换成横视频,要求画面满屏不变形及没有黑边(解决方案)...
- 派生类中重新定义虚函数及虚函数的注意事项
- 失控的热潮:为什么说特斯拉的“电池日”名副其实?
- 【C语言】数据表现形式及基本数据类型
- 宝二爷,一个以太坊铁杆粉为何转投EOS?
- 清除微信小程序button的默认样式
- 想不想修真鸿蒙之礼奖励,想不想修真论道之礼额外奖励获取攻略