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

Colomban Wendling lists.ban at xxxxx
Wed May 15 01:38:42 UTC 2013

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.

More information about the Devel mailing list