kisstkondoros / codemetrics

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

Hide "green" complexities #81

Closed BridgeAR closed 4 years ago

BridgeAR commented 4 years ago

Right now the plugin is pretty verbose by always showing the complexity. If something is already good, there is not really a reason to outline it.

I suggest to either add an option to hide specific levels or to make it an default to hide good complexities.

kisstkondoros commented 4 years ago

Thanks for reaching out!

I think codemetrics.basics.CodeLensHiddenUnder is what you are looking for (default value is '3'). This is independent of the complexity levels intentionally.

If you think the behavior is not satisfying, please open a new more specific issue, I'm open for suggestions.

BridgeAR commented 4 years ago

Thank you very much, I did indeed somehow miss these configurations.