Equivalent of CodeMetrics for PhpStorm / WebStorm, etc...
I use PhpStorm for a lot of typescript development. The one thing I find missing from the IDE is a cyclomatic complexity tool like VSCode's "CodeMetrics" plugin. I see that Rider has one, and that it already works with Typescript. But that plugin won't install for PhpStorm.
Any chance of getting support for that added to PhpStorm?
请先登录再写评论。
WebStorm/PHPStorm support a very limited set of metrics (see Settings | Editor | Inspections | JavaScript | JavaScript function metrics). You can try enabling the Overly complex function - see if it works for you
Yeah, not really the same thing. I already run TSLint which will give that functionality (if it goes over a threshhold). But it doesn't annotate the running app, and it doesn't have multiple threshholds (warn, error)
BUMP, as we need this plugin.
check this:
https://marketplace.visualstudio.com/items?itemName=kisstkondoros.vscode-codemetrics
there is https://plugins.jetbrains.com/plugin/12159-codemetrics/versions
but it is 2019 old :(