Hello all, I am making good progress with my Clojure plugin.
I am currently debugging my Lexer and I want to test it with Brace matching.
I have implemented a Lexer, and a BraceMatcher. The icons on the files
change, so I think the FileType is registered. However, BraceMatching
doesn't happen, and breakpoints don't fire in my Lexer.
Can anyone describe how BraceMatcher and Lexer registration works?
I see that the BraceMatcher is registered as an extension like this...
How does it get invoked for the appropriate files, and how does it hook
up with the appropriate Lexer?
If you just wanted to do BraceMatching, how would you associate the file
extension, Lexer and BraceMatcher?
My guess is that the language=... string is matched with the getName()
of the FileType. Is that right? Is there anything else?
Thanks in advance