kisstkondoros / codemetrics

VSCode extension which shows the complexity information for TypeScript class members
Other
402 stars 20 forks source link

Feature request: Setting for folders/function names to ignore #73

Closed GregorBiswanger closed 4 years ago

GregorBiswanger commented 4 years ago

Hi, first of all.. I love your extension! Thank you for your work...

I have only one problem with spec files. This have a lot of test functions and the result of complexity on the describe function is not required.. we need a workspace settings, for ignore folder/function names as example..

Thanks..

kisstkondoros commented 4 years ago

You could use codemetrics.basics.Exclude for exactly this. Let me know if it helped. Until that I'll close the issue.

IgnusG commented 4 years ago

Is it possible to only exclude the describe function but keep the statistic for tests?

For Example remove this red describe annotation and keep the test's?

image