<p>Have you tried the tags files on the wiki?</p>

<p>Geany does not parse non-global declarations in any language.  </p>

<p>To do so would require a lot more knowledge about the user environment, for C++ that means all of the includes, which means all of the <code>-I</code> options in the compile, which means knowing the compile command, knowing and parsing which makefile is being used, which gets you to a heavyweight IDE like Eclipse or Netbeans.  But even those have the problem " oh you don't use a makefile, you use cmake, or scons or something else ... tough". </p>

<p>Also your example requires knowledge of the type of the expression <code>a[0]</code> which means knowing about instantiating the <code>vector</code> template which means knowing pretty much all the C++ compiler knows.</p>

<p>Geany itself will almost certainly never do any of these things, but an experiment some time ago showed that it would be possible to use a plugin with <code>LibClang</code>, but "somebody" has to do it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/876#issuecomment-173406248">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7mhAxaiU9ig_juK4Dm-SFzDGzNEks5pcBWrgaJpZM4HI566.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/876#issuecomment-173406248"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>