VScode 自用插件

1. Auto Import —— 自動imports模塊,適用Typescript 和 TSX

2. Comment TS —— 寫函數(shù)注釋

3. Document This —— 寫函數(shù)注釋

4. json2ts ——— json文件自動轉(zhuǎn)為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.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,817評論 0 10
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,640評論 5 6
  • 業(yè)精于勤荒于嬉,行成于思毀于隨。第一是說,勤能補拙;第二是說獨立思考。 羊群效應(yīng)就是羊群會被頭羊帶著跑,也...
    十年一井閱讀 639評論 0 0
  • 文 | 晨妤兒 啊啊啊 天若有眼,還我公道 蒼天可明查 天賜雨露敢淋,不怕玷污上天 世人卻推我上了懸崖 我不可死,...
    晨妤兒閱讀 450評論 0 3
  • —梳理晨間日記體系— 寫晨間日記也有20來天了,收獲是有的,而更多的是值得反思的不足,確實,我的日記缺乏體系,想到...
    芒果酸奶的下午茶閱讀 140評論 0 0

友情鏈接更多精彩內(nèi)容