Ctrl + Space Basic code completion (the name of any class, method or variable) 基本代码完成(任何类、函数或者变量名称),改为Alt+S Ctrl + Shift + Enter Complete statement 补全当前语句
Ctrl + P Parameter info (within method call arguments) 参数信息包括方法调用参数
Ctrl + mouse over code Brief Info 简单信息
Ctrl + F1 Show description of error or warning at caret 显示光标所在位置的错误信息或者警告信息
Alt + Insert Generate code…(Getters, Setters, Constructors)生成代码,…构造函数,可以创建类里面任何字段的getter与setter方法Ctrl + O Override methods 重载方法
Ctrl + I Implement methods 实现方法
Ctrl + Alt + T Surround with…(if, else, try, catch, for, etc)用* 来围绕选中的代码行,(* 包括if 、while 、try catch 等)
Ctrl + / Comment/uncomment with line comment 行注释/取消行注释
Ctrl + Shift + / Comment/uncomment with block comment 块注释/取消块注释
Ctrl + W Select successively increasing code blocks 选择代码块,一般是增量选择
Ctrl + Shift + W Decrease current selection to previous state 上个快捷键的回退,减量选择代码
Alt + Q Context info 上下文信息
Alt + Enter Show intention actions and quick-fixes 意图行动,快速见效
Ctrl + Alt + L Reformat code 根据模板格式对代码格式化
Tab/ Shift + Tab Indent/unindent selected lines 对所选行进行缩排处理/撤销缩排处理
Ctrl + X or Shift + Delete Cut current line or selected block to clipboard 剪切当前行或所选代码块到剪切板
Ctrl + C or Ctrl + Insert Copy current line or selected block to chipboard 拷贝当前行或者所选代码块到剪切板
Ctrl + V or Shift + Insert Paste from clipboard 粘贴剪切板上的内容
Ctrl + Shift + V Paste from recent buffers 粘贴缓冲器中最新的内容
Ctrl + D Duplicate current line or selected block 复制当前行或者所选代码块
Ctrl + Y Delete line at caret 删除插入符号位置行
Ctrl + Shift + J Smart line join(HTML and JavaScript only)加入智能行(HTML 和JavaScript)
Ctrl + Enter Smart line split(HTML and JavaScript only)分离智能行(HTML 和JavaScript)
以上快捷键是根据webstrom官网给出的pdf翻译而来(只整理了windows下的)Shift + Enter Start new line 另起一行
Ctrl + Shift + U Toggle case for word at caret or selected block 光标所在位置大小写Ctrl + Shift + ]/[ Select till code block end/start 选择直到代码块结束/开始
Ctrl + Delete Delete to word end 删除文字结束
Ctrl + Backspace Delete to word start 删除文字开始
Ctrl + NumPad+/- Expand/collapse code block 扩展/缩减代码块
Ctrl + Shift+ NumPad+ Expand all 扩张所有
Ctrl + Shift+ NumPad- Collapse 缩减所有
Ctrl + F4 Close active editor tab 关闭活跃编辑标签
Search/replace搜索/替代
Ctrl + F Find 寻找
F3 Find next 寻找下一个
Shift + F3 Find previous 寻找之前的
Ctrl + R Replace 替代
Ctrl + Shift + F Find in path 寻找路径
Ctrl + Shift + R Replace in path 替代路径
Usage Search使用搜索
Alt + F7/Ctrl + F7 Find usages/Find usages in file 找到使用/在文件找到使用
Ctrl + Shift + F7 Highlight usages in file文件中精彩使用
Ctrl + Alt + F7 Show usages 显示使用
Running运行
Alt + Shift + F10 Select configuration and run 选择构架,运行
Alt + Shift + F9 Select configuration and debug 选择构架,修补漏洞
以上快捷键是根据webstrom官网给出的pdf翻译而来(只整理了windows下的)Shift + F10 Run 运行
Shift + F9 Debug 修补漏洞
Ctrl + Shift + F10 Run context configuration from editor 从编辑运行内容构架
Ctrl + Shift + X Run command line 运行命令行
Debugging 修补漏洞
F8 Step over 不进入函数
F7 Step into 单步执行
Shift + F7 Smart step into 智能单步执行
Shift + F8 Step out 跳出
Alt + F9 Run to cursor 运行到光标处
Alt+ F8 Evaluate expression 评估表达
F9 Resume program 重新开始程序
Ctrl + F8 Toggle breakpoint 切换断点
Ctrl + Shift + F8 View breakpoints 查看断点
Navigation 定位
Ctrl + N Go to class跳转到指定类
Ctrl + Shift + N Go to file跳转到指定文件
Ctrl + Alt +Shift + N Go to symbol 跳转到函数
Alt + Right/ left Go to next/ previous editor tab 进入下一个/ 上一个编辑器选项F12 Go back to previous tool window 进入上一个工具窗口
Esc Go to editor(from tool window)从工具窗口进入编辑器
Shift + Esc Hide active or last active window 隐藏活动窗口
Ctrl + Shift + F4 Close active run/message/find/…tab 关闭活动….标签
Ctrl + G Go to line 进入行
以上快捷键是根据webstrom官网给出的pdf翻译而来(只整理了windows下的)Ctrl + E Recent files popup 弹出最近打开的文件
Ctrl + Alt + Left/Right Navigate back/forward 导航前进/后退
Ctrl + Shift + Backspace Navigate to last edit location 向最近编辑定位导航
Alt + F1 Select current file or symbol in any view 选择当前文件或任何范围的符号
Ctrl + B or Ctrl + Click Go to declaration跳转到定义处
Ctrl + Alt + B Go to implementation(s) 跳转方法实现处
Ctrl + Shift + I Open quick definition lookup 打开定义快速查找
Ctrl + Shift + B Go to type declaration 跳转方法定义处
Ctrl + U Go to super-method/super-class 跳转方法/超阶级
Alt + Up/Down Go to previous/next method 跳转到上一个/下一个方法
Ctrl + ]/[ Move to code block end/start 跳转到编码块结束/开始
Ctrl + F12 File structure popup 文件结构弹出
Ctrl + H Type hierarchy 类型层次
Ctrl + Shift + H Method hierarchy 层次分法
Ctrl + Alt + H Call hierarchy 调用层次结构
F2/ Shift + F2 Next/previous highlighted error 跳转到后一个/前一个明显错误,使用这个快捷键可以快捷在出错的语句之间进行跳转。F4/Ctrl + Enter Edit source/ View source 编辑源代码/查看源代码
Alt + Home Show navigation bar 显示导航栏
F11 Toggle bookmark 切换标记
Ctrl + F11 Toggle bookmark with mnemonic 采用记忆切换标记
Ctrl + #[0-9] Go to numbered bookmark 跳转到带编号的标记
Shift + F11 Show bookmark 显示标记
Refactoring 重构
F5 Copy 拷贝
F6 Move 移动
以上快捷键是根据webstrom官网给出的pdf翻译而来(只整理了windows下的)Alt + Delete Safe Delete 安全删除
Shift + F6 Rename 重新命名
Ctrl + Alt + N Inline Variable 嵌入变量
Ctrl + Alt + M Extract Method( Javascript only) 提取函数
Ctrl + Alt + V Introduce Variable 引入变量
Ctrl + Alt + F Introduce Field 引入域
Ctrl + Alt + C Introduce Constant 引入常量
VCS/Local History 集群服务器/ 本地历史
Alt +BackQuote( ) ‘VCS’quick popup 快速弹出VCS
Ctrl + K Commit project to VCS 提交项目至VCS
Ctrl + T Update project from VCS 从VCS 更新项目
Alt + Shift + C View recent changes 查看最新改变
General 常用的
Ctrl + Shift +A Find action 找General 常用的功能
Alt + #[0-9] Open corresponding tool window 找到相应的工具窗口
Ctrl + Alt + F11 Toggle full screen mode 切换全屏模式
Ctrl + Shift + F12 Toggle maximizing editor 切换最大化编辑器
Alt + Shift + F Add to Favorites 添至收藏夹
Alt + Shift + I Inspect current file with current profile 使用当前属性检查当前文件
Ctrl + BackQuote( ) Quick switch current scheme 快速转换现有组合
Ctrl + Alt + S Open setting dialog 打开设置对话框
Ctrl + Tab Switch between tabs and tool window 标签和工具窗的转换(与windows快捷键冲突)以上快捷键是根据webstrom官网给出的pdf翻译而来(只整理了windows下的)下载本文