Incremental Lexical analysis for custom language plugin

Hello,

I am building a custom language plugin. The lexer for the language is already implemented, unfortunately, it does not have an interface that Idea expects (in Lexer.java). I wanted to know specifically about the incremental relexing requirement (for syntax highlighting).

  • If we are hand writing the lexer, do we have to incorporate specific incremental lexing algorithms, in order to keep relexing times low? What is peoples' experience here?


thanks
Siddharth

Please sign in to leave a comment.