webstorm 使用

快捷键 功能
alt + 单击 多行编辑:选中多个焦点,方便同时编辑
command + R 批量替换(文本块替换:先选中文本块,再按 command+R )
command + L 跳到指定行
command + option + L 格式化代码
command + shift + up(down) 上下移动行
  • 有时候通过git clone项目代码然后打开文件夹,WebStrom不把文件夹当做Project,此时文件夹有灰背景;
    解决:通过File->New->Project from Version Control...导入项目

  • node 代码提示:
    Preferences | Languages & Frameworks | Node.js and NPM | 选中:Coding assistance for Node.js

  • 文本折行:
    preferences = editor = general = soft wraps = 选中 use soft wraps in editor

  • 设置模板
    Preferences – Editor – File and Code Templates

  • 修改terminal的背景和文字大小
    Preferences – Editor – Colors & Fonts - Console Colors(Console Font)

  • 使用 zsh 终端:/bin/bash 改为 /bin/zsh

posted on 2017-05-25 16:54  cag2050  阅读(229)  评论(0编辑  收藏  举报

导航