> If that's the case, besides being over 5 years old, what are the issues with 
> the custom filetype proposed above by @peter1000? Generally, what's needed to 
> make a good Julia filetype file?

I'm using it everyday and probably I got used to it but I see 3 big issues that 
require writing a Scintilla lexer specially for Julia:
- using splatting "..." of varargs makes the end of the line being recognized 
as comment and lose coloration.
- the "end" keyword sometimes doesn't match the beginning of the block (for, 
if, function...), I don't know if it's because you can use it for indexing 
also, but the code collapsing function is not working at all because of that.
- complex strings with interpolation is not correctly parsed, making all the 
line losing color and even sometimes the next lines.

Also minor problems are:
- symbols are not recognized as special type (like strings) so it is not easy 
to find them in the code.
- type annotations with ::, <: are not emphasized
- macros are not colored either

I tried to work on the Scintilla lexer but the documentation is too obscure.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/434#issuecomment-689809782

Reply via email to