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

Reply via email to