[Github-comments] [geany/geany] Add AutoIt (*.au3) Lexer to Geany (#967)

elextr notifications at xxxxx
Sun Oct 29 16:28:05 UTC 2017


Well, there's ya problem, freebasic comments don't start with `;` ([see](https://www.freebasic.net/wiki/wikka.php?wakka=ProPgComments)) so the parser is justifiably confused by all those lines.  So the freebasic parser is not going to work for autoit.

> I don't understand. Without CTags parser? How can I do this? Does Geany do it automatically?

To be more clear _loading_ an existing tags file doesn't need the language parser, after all its reading the tags file not a source file.  But it does need a tag parser language to be specified on the filetype since the tags must be associated with a parser language, thats how autocomplete finds them in the mass of tags for multiple languages, the same as it finds symbols the parser gets from open files, which is why you need to specify `tag_parser` for the tags to load.

> I didn't find :( (I checked Issues, Pull requests, Exuberant ctags too.)

Well, I guess you could try modifying the freebasic parser to make an autoit one.

-- 
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/967#issuecomment-340274905
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171029/bde6f434/attachment.html>


More information about the Github-comments mailing list