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

Marcelo Garlet Millani notifications at xxxxx
Mon Apr 18 14:36:34 UTC 2016


Maybe I wasn't very clear. All LaTeX macros are preceded by a `\`. However, not everything is a macro. Consider, for example, the following LaTeX code:

```latex
\newcommand{\macroname}{some \LaTeX code}
We defined a new macro called \textbackslash\texttt{macroname} which expands to \macroname.
```

it is undesirable to receive autocomplete suggestions when writing the words `macro` or `macroname`, since they are not macros. However, when writing `\macroname` I would expect to have autocomplete available, since the symbol is known. The current behaviour does exactly the opposite. Furthermore, current word separation understands `\textbackslash\texttt` as a single word, and autocomplete for `\texttt` is then no longer possible (even if it were a known symbol).

Since the autocomplete feature for symbols is implemented in geany, and there is already language-specific code for LaTeX and other languages, isn't this a geany issue?

---
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#issuecomment-211406684
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160418/898c3dd1/attachment.html>


More information about the Github-comments mailing list