Closed ltwlyanxi closed 3 weeks ago
@ltwlyanxi There is already out of the box functionality for that. Go to Editor -> Inlay Hints -> Other, and enable/disable complexity hints per language. Also there is Complexity inspection, which you can disable at Editor -> Inspections -> Cognitive complexity (or adjust severity level to Consideration to disable only highlighing of such methods).
P.S. I also added instructions on plugin marketplace page - https://plugins.jetbrains.com/plugin/12895-better-highlights/faq-cognitive-complexity
[h] Better Highlights -> Cognitive Complexity
Add an enable or disable switch to set whether this feature is enabled or disabled. I want to disable complexity completely.