<blockquote>
<p>Geany does not parse non-global declarations in any language. </p>
</blockquote>
<p>[citation needed]</p>
<div class="highlight highlight-source-c++"><pre>
<span class="pl-k">struct</span> <span class="pl-en">Foo</span> {
<span class="pl-k">void</span> <span class="pl-en">some_func</span>() {}
};
<span class="pl-k">struct</span> <span class="pl-en">Bar</span> {
Foo myfoo;
<span class="pl-k">void</span> <span class="pl-en">blah</span>() {
myfoo. <<--- offers non-global <span class="pl-smi">Foo::some_func</span>() as completion
}
};</pre></div>
<p>It should work for <code>std::vector</code> member functions too if it had tags, but indeed I doubt it can have any clue what to do with the return value from the overloaded <code>operator[]</code> on vector, like the <code>first</code> member variable of the resulting <code>std::pair</code> reference or whatever. </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-173427147">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2vxrXcM-z-fzIpCePdquen51WdBks5pcDNzgaJpZM4HI566.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-173427147"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>