i'm writing a plugin for a language. the documentation and example on jetbrains.com is good, but leaves some questions open.
in a string can be escaped chars like \n, \t etc. how can i mark these as highlighted?
the language has a lot of libraries for special extensions. the lexer only recognizes an identifier and the parser marks functioncalls, if identifier() is entered. how can i detect the library-functions and how can i display these functions in a special way, like italic. the problem is, that i can't add all library-functions to the lexer, because there are too much of them and the count of functions depends on the installed libraries. i'd like to make the developer decide, which libraries are installed, so these kind of parsing and syntax-highlighting must be a step past the lexer.
how do i create a quick-list with these functions? and a online-help for the parameters of a function? this must be a standard-problem, so i think, there is an easy solution with some classes or interfaces. :)
these are the first questions for now. to be continued.... :) I hope, my english is good enough to understand.
thanks for the help,