Incremental Lexical analysis for custom language plugin


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 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?


Please sign in to leave a comment.