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

<p>I managed to fix the problem by adding a backslash to the tag name in the function <code>createTag</code> on <code>tagmanager/ctags/latex.c</code>. However, I suppose this is not desired since the <code>\</code> 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 <code>\</code> on the side menu, but I can live with that.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/issues/1000">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ667Oz_ZAqgEaWM4XRD_TqCXqaOCks5p4TxMgaJpZM4IJAHw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1000"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>