Skip to content
Discussion options

You must be logged in to vote

Linters are a different thing that shows information underneath the offending lines and can be triggered by "Lint Current Code" command or the Ctrl+Alt+L shortcut. They produce annotations that look like this:

Note: based on my testing it seems that v1.1.0 has some issues with linters, I'll be looking into this before the next release.

If you are wanting red squiggles or highlighting of the name, you should make a Styler instead.

You can use the SyntaxErrors styler as a minimal template (shows the base class to use, the property to override and a call to AddIndicator that produces a red squiggle (color format is 0xBBGGRRAA).

AddIndicator(error.Location, IndicatorType.SQUIGGLE, 0x0000FFA0…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tonichornet-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants