美文网首页
VScode 自用插件

VScode 自用插件

作者: simpleDis | 来源:发表于2018-10-16 16:32 被阅读19次

1. Auto Import —— 自动imports模块,适用Typescript 和 TSX

2. Comment TS —— 写函数注释

3. Document This —— 写函数注释

4. json2ts ——— json文件自动转为TS的Interface

5. Move TS ——— 移动TS文件,自动修改其他引用文件的路径

6. TypeScript Extension Pack ———— 整合包,包含了上面的很多插件

    Extensions included
  • TSLint - linter for the TypeScript language, help fixing error in TS code. Must have when working with TS.

  • TypeScript Hero - Favorite feature: sorts and organizes your imports according to convention and removes imports that are unused (Ctrl+Alt+o on Win/Linux or Ctrl+Opt+o on MacOS).

  • json2ts - Convert a JSON from clipboard to TypeScript interfaces. (Ctrl+Alt+V).

  • Move TS - this is a great extension to help you refactor and re-organize some files in the project. It automatically fixes the imports on the file that is being moved and also files that are importing the component you are moving. To use it: right-click on a file or folder in the Project Explorer pane and select 'Move TypeScript'.

  • Path Intellisense - VSCode has a very good auto import capability, but sometime you still need to import some files manually, and this extension helps a lot in these cases.

  • TypeScript Importer - Automatically searches for TypeScript definitions in workspace files and provides all known symbols as completion item to allow code completion.

  • Prettier - JavaScript formatter - format your Javascript / Typescript / CSS - I recommend adding the following config in you users setting for VsCode:

    • Settings: "prettier.singleQuote": true
  • Debugger for Chrome - Must have extension for TS development. You can debug using chrome and add your breakpoints in VSCode.

相关文章

  • VScode 自用插件

    1. Auto Import —— 自动imports模块,适用Typescript 和 TSX 2. Co...

  • 自用VScode插件

    Auto Close Tag 自动补充闭合标签 Auto Rename Tag 同步修改头尾标签 backgrou...

  • VSCode自用插件

    Beautify Beautify 插件可以快速格式化你的代码格式,让你在编写代码时杂乱的代码结构瞬间变得非常规整...

  • 自用vscode插件

  • vscode 自用插件总结

    vscode 插件总结 Add jsdoc comments Beautify Bracket Pair Colo...

  • vscode自用常用插件

    1、any-rule 集合了所有常用的正则 2、 Autoprefixer 自动添加c...

  • 编辑器--VS Code

    VSCode 自用插件记录 记录使用的插件,供那天突然还电脑时候回来看 XML Tools 格式化xml文件等v...

  • vscode 自用插件自动保存

    所需插件 vacode设置内容 可以在使用vscode时,保存文件时文件内容可以进行自动格式化

  • vscode 自用插件 以及eslint自用规范说明

    由于项目特殊性并没有强制要求上面所有规则 表达式后面跟冒号 字符之间需要一个空格//incorrectfuncti...

  • VSCode插件整理

    VSCode插件整理 一、安装插件 前端统一开发工具:VSCode插件整理。 点击当前按钮进入vscode插件商场...

网友评论

      本文标题:VScode 自用插件

      本文链接:https://www.haomeiwen.com/subject/yxphzftx.html