神刀安全网

Typescript codemetrics for VSCode

Code Metrics – VsCode Extension

Computes the complexity of typescript class members.

It looks like this

Typescript codemetrics for VSCode

Typescript codemetrics for VSCode

Typescript codemetrics for VSCode

Install

How to install vscode extentions

Customization

In the workspace settings one can override the defaults (for a complete list check AppConfiguration.ts)

{   // highest complexity level will be set when it exeeds 15   "codemetrics.ComplexityLevelExtreme" : 15,    // Description for the highest complexity level   "codemetrics.ComplexityLevelExtremeDescription" : "OMG split this up!",    // someone uses 'any', it must be punished   "codemetrics.AnyKeyword": 100 }

Change Log

  • 0.0.2
    • Typescript added as real dependency
  • 0.0.1
    • Initial project setup

License

Licensed under MIT

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Typescript codemetrics for VSCode

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址