I was not aware of the ctags project. But their [tex 
file](https://github.com/universal-ctags/ctags/blob/master/parsers/tex.c) does 
not seem to have anything for macros, and is considerably different from the 
ctags/latex.c file here. So I don't see how I could submit theses changes 
there, and I also don't see how it would help Geany.

One way of making this functionality more generic would be to use the lexer to 
filter which symbols can be used for autocompletion. So if the lexer can tell 
whether the current word is a macro or not, and if the known symbols are 
properly typed, the LaTeX specific code could go away. But I don't know if this 
could break autocompletion for other languages.

---
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/pull/1011#issuecomment-215140022

Reply via email to