[Github-comments] [geany/geany] LaTeX autocompletion not working for macros (#1000)

Marcelo Garlet Millani notifications at xxxxx
Sat Apr 16 19:45:16 UTC 2016


Whenever I define a macro with `\newcommand{\macroname}{...}`, the symbol `macroname` is successfully added to the list of know symbols, however it is not autocompleted. That is, writing `\macro` does not show any suggestions. But if I write only `macro` (without the backslash), then`macroname` is suggested.

I managed to fix the problem by adding a backslash to the tag name in the function `createTag` on `tagmanager/ctags/latex.c`. However, I suppose this is not desired since the `\` was explicitly removed from the tag on that function. And this fix has the ugly side effect that every macro will be preceded by a `\` on the side menu, but I can live with that.

---
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/1000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160416/485af206/attachment.html>


More information about the Github-comments mailing list