VSCode

VSCode 插件

  • Parameter Hints - 功能:提示函数的参数类型及消息
  • ESLint 功能:代码规范检查
  • Prettier - Code formatter 功能:代码美化,自动格式化成规范格式
  • Project Manager 功能:项目管理插件,当开发多个项目时,可以快速跳转
  • Path Intellisense 功能:路径智能提示
  • Image preview功能:当引入路径为图片时,可以预览当前图片
  • GitLens 功能:增强了git功能,支持在 VSCode 查看作者、修改时间等等
  • One Dark Pro 主题
  • vscode-icons 功能:文件图标
  • Github Copilot:智能 AI 写代码,这是未来
  • project manager: 并行多项目开发必备
  • npm Intellisense : 自动引入 npm 包
  • javascript console utils : shift + command + L 快速打 log
  • Code Spell Checker : 检查单词拼写
  • Tailwind CSS IntelliSense: tailwind 的提示
  • remote ssh: 连接远程服务器
  • Wallaby.js:推荐,可以替代 console.log
  • Million Lint: 找出代码中缓慢的代码

vscode 快捷键

  • Ctrl + Alt +向上箭头(Mac: command + Option +向上箭头)将光标添加到上面,按Ctrl + Alt +向下箭头(Mac: command + Option + 向下箭头)将光标添加到下面。
  • shift + command + C 打开外部终端,配合终端工具

VSCode 源码