I've created a new Linter but i don't see the results on the code #63
-
|
Hi, I'm trying to create a custom Linter for variable naming conventions. My VisitLocalVariableDeclaration method correctly identifies variables missing the ZE_ prefix, but the editor doesn't show any underline or warning indicator. I suspect I might be missing something regarding how the Squiggle indicators are registered or rendered. Here is my current Linter code: |
Beta Was this translation helpful? Give feedback.
Answered by
tim-slater-gt
Jan 24, 2026
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
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

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
SyntaxErrorsstyler 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…