Custom error highlighting
Hi all,
I'm writing plugin which scans the current file and detects
application-specific errors (e.g. a badly formed i18n log token). I
would like to highlight these errors in the same way IDEA highlights
Java syntax errors.
So far, I've figured out how to add the red wavy underscore using
RangeHighlighter, but I can't figure out how to associate an error
message with the highlight so that it appears in the IDEA statusbar and
as a tooltip.
Any ideas or suggestions?
Thanks,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Please sign in to leave a comment.
Well, it is not currently possible using OpenAPI (unless you do all the work
yourself). But we're planning an extention here.
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Gordon Tyler" <gordon.tyler@sitraka.com> wrote in message
news:b8met8$eih$1@is.intellij.net...
>
>
>
>
>
>
Maxim Shafirov wrote:
That's good news. I created a RFE:
http://www.intellij.net/tracker/idea/viewSCR?publicId=11882.
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919