• webstorm 使用积累


    ## 快捷键们 

    (一般 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本地改动

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

    ## 符号含义

    IconDescription
    classTypeJavaClass
    Class
    classTypeAbstract
    Abstract Java class
    classTypeAnnot
    Annotation
    classTypeEnum
    Enumeration
    classTypeException
    Exception
    img
    Final Java class
    classTypeInterface
    Interface
    classTypeMain
    Java class that contains declaration of the main() method.
    classTypeTestCase
    Test case
    classTypeJavaOutOfSourceRoot
    Java class located out of the source root. Refer to the section Configuring Content Roots for details.
    excludeFromCompilation.png
    Java class excluded from compilation.
    method
    Method
    method_abstract
    Abstract method
    field
    Field
    variable
    Variable
    property
    Property
    property_yellow
    Parameter
    xml_element
    Element
    folder
    Directory
    moduleFolder
    Module
    groupOfModules
    Group of modules
    iconPackage
    Package
    rootSource
    Source root
    rootTest
    Test root
    rootExcluded
    Excluded root
    rootResourceIJ
    Resources
    rootTestResourceIJ
    Test resources
    rootGeneratedSourceIJ
    Generated source roots
    rootGeneratedTestSourceIJ
    Generated test source roots
    Visibility modifiers
    locked
    Read-only class, e.g. from a jar of an external library.
    private.png
    private
    protected.png
    protected
    package_protected.png
    package protected
    staticMark
    static
    public.png
    public

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

    疑问:

    webstorm的terminal 怎么split呢?

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

  • 相关阅读:
    网络爬虫工具
    Redmine
    数据挖掘算法Analysis Services-基于SQL Server的数据挖掘
    数据挖掘和互联网广告-如何应对网盟广告作弊

    支付宝VIE的罪与罚
    迭代
    App如何推广秘籍之”渠道为王”
    Introducing Holographic Emulation
    Resources.Load加载文件返回null的原因
  • 原文地址:https://www.cnblogs.com/sameen/p/14663571.html
Copyright © 2020-2023  润新知