[Geany-Devel] Symbols containing '.' break symbols pane

Lex Trotman elextr at xxxxx
Wed May 15 01:45:40 UTC 2013


On 15 May 2013 11:38, Colomban Wendling <lists.ban at herbesfolles.org> wrote:

> Le 14/05/2013 09:47, Lex Trotman a écrit :
> >
> > [...]
> >
> >
> > Colomban,
> >
> > And while you are in symbols.c (or near there ?)
>
> Err, your request moves towards c.c…  nice try ;)
>
> > in C++ symbols defined with "auto" do not show in the symbols pane,
> > thats understandable
>
> Probably prevents the parser form understanding the declaration.  At
> least it would prevent me from understanding it :)
>
> > (will raise bug report so we fix it and other c++11isms one day), but
> > annoyingly those symbols still get rubbish autocompletions when you
> > type symbol-> or symbol.
> >
> > Where are those coming from if the symbol doesn't exist?
>
> That's probably because the (current) scope completion code is well,
> maybe "idiotic" is the word.  But actually I don't know much since I
> don't get this code, maybe ask Nick (he was against me replacing it with
> a maybe slower version of this that I did understand, so maybe he did
> actually understand the current one).
>
> But anyway, I think it tries very hard to show something, and then will
> show rubbish for unknown tags.
>
> And don't forget we don't parse local variables, which means we have no
> idea what their type is.
>

True, which does make it a little bit silly to try to return something for
. and ->

Cheers
Lex



> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20130515/9da36ffa/attachment.html>


More information about the Devel mailing list