VScode 自用插件

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.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,481评论 0 10
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,565评论 5 6
  • 业精于勤荒于嬉,行成于思毁于随。第一是说,勤能补拙;第二是说独立思考。 羊群效应就是羊群会被头羊带着跑,也...
    十年一井阅读 594评论 0 0
  • 文 | 晨妤儿 啊啊啊 天若有眼,还我公道 苍天可明查 天赐雨露敢淋,不怕玷污上天 世人却推我上了悬崖 我不可死,...
    晨妤儿阅读 431评论 0 3
  • —梳理晨间日记体系— 写晨间日记也有20来天了,收获是有的,而更多的是值得反思的不足,确实,我的日记缺乏体系,想到...
    芒果酸奶的下午茶阅读 128评论 0 0