## 快捷键们 

(一般 mac 是 command键,windows是ctrl键 )

command + F    查找当前文档

command + R   替换

command + Shift + F    全局搜索字段 / 文件

command + B  || command + Click  跳到变量申明处

command + P   显示参数信息

command + Y 小浮窗显示变量声明时的行

command + E 打开最近打开的文件

command + shift + C 复制文件的路径

command + option + t  用 (if..else, try..catch, for, etc.)包住

shift + shift  查找文件  

command + o 跳转到class

command + ,    打开preferences

command + option + left/right  返回到 上次/下次 浏览的位置

 

 

## 调整字体

 

 

 

## 查看每行是谁改动的

行数,右键,annotate

类比vscode,可装插件Git blame、Annotator、GitLens 等等;

webstorem可以装插件 gittoolbox ;

## 快速打console

配置好之后,在编辑器里 输出 c(就是自己自定义的),然后按tab键,就出来console了,然后自己再输入变量;

找到vscode替代了,但是感觉不如vscode 的 log wrapper 好用。

 

## git切换分支

项目根目录  >  Git  >  Repository  >  Brabches

选择要切换的远程,点击checkout as 即可

 

或者直接点击右下角,可直接选指定分支

 

## diff本地改动

## 可以整体看一个文件里定义了哪些属性、哪些方法;

 

## 符号含义

Icon Description
webstorm 使用积累
Class
webstorm 使用积累
Abstract Java class
webstorm 使用积累
Annotation
webstorm 使用积累
Enumeration
webstorm 使用积累
Exception
webstorm 使用积累
Final Java class
webstorm 使用积累
Interface
webstorm 使用积累
Java class that contains declaration of the main() method.
webstorm 使用积累
Test case
webstorm 使用积累
Java class located out of the source root. Refer to the section Configuring Content Roots for details.
webstorm 使用积累
Java class excluded from compilation.
webstorm 使用积累
Method
webstorm 使用积累
Abstract method
webstorm 使用积累
Field
webstorm 使用积累
Variable
webstorm 使用积累
Property
webstorm 使用积累
Parameter
webstorm 使用积累
Element
webstorm 使用积累
Directory
webstorm 使用积累
Module
webstorm 使用积累
Group of modules
webstorm 使用积累
Package
webstorm 使用积累
Source root
webstorm 使用积累
Test root
webstorm 使用积累
Excluded root
webstorm 使用积累
Resources
webstorm 使用积累
Test resources
webstorm 使用积累
Generated source roots
webstorm 使用积累
Generated test source roots
Visibility modifiers
webstorm 使用积累
Read-only class, e.g. from a jar of an external library.
webstorm 使用积累
private
webstorm 使用积累
protected
webstorm 使用积累
package protected
webstorm 使用积累
static
webstorm 使用积累
public

 

参考:https://www.jetbrains.com/help/idea/2016.1/symbols.html

 

 

 

疑问:

webstorm的terminal 怎么split呢?

答:装2020 及以上版本才有,右键tab就能看到;见评论

相关文章:

  • 2021-08-11
  • 2022-02-07
  • 2021-12-19
  • 2021-08-10
  • 2021-06-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-30
  • 2021-12-19
  • 2021-11-14
  • 2022-02-25
  • 2022-12-23
  • 2021-12-12
  • 2022-02-09
相关资源
相似解决方案