CDT inconsistant behaviour in Juno [message #1020121] |
Sun, 17 March 2013 05:22  |
Eclipse User |
|
|
|
Hi there,
as I'm new in here, I'm not allowed to link to images external to Eclise.org, so here is a link to a screenshot related to my issue
www.wardsback.org/misc/eclipse_stupidity.png
on line 52 I was able to autocomplete c_str() from an std::string, but autocompletion fails on lines 48 & 49, and I'm getting errors.
Strangely enought, though, tooltip shows that, on line 49, toStdString()'s return type is well known.
I set the indexer to index everything, rebuilt the index from scratch several times.
Can somebody help ?
I cannot work like this, having Eclipse telling me that I have errors in my project, when there are simply *none*
|
|
|
|
Re: CDT inconsistant behaviour in Juno [message #1020952 is a reply to message #1020121] |
Tue, 19 March 2013 04:50   |
Eclipse User |
|
|
|
Fred CORNU wrote on Sun, 17 March 2013 10:22Hi there,
as I'm new in here, I'm not allowed to link to images external to Eclise.org, so here is a link to a screenshot related to my issue
www.wardsback.org/misc/eclipse_stupidity.png
on line 52 I was able to autocomplete c_str() from an std::string, but autocompletion fails on lines 48 & 49, and I'm getting errors.
Strangely enought, though, tooltip shows that, on line 49, toStdString()'s return type is well known.
I set the indexer to index everything, rebuilt the index from scratch several times.
Can somebody help ?
I cannot work like this, having Eclipse telling me that I have errors in my project, when there are simply *none*
- Did you get autocompletion for toStdString() itself in line 48?
- when you set the cursor on toStdString() in line 48 and press F3 where will you get?
- I don't understand line 50.
- Can you reproduce it with a small example?
- From your code snippet I guess the variable filePrefix is of type QString. I am using this, too, and have no problem with autocompletion.
|
|
|
|
Re: CDT inconsistant behaviour in Juno [message #1021530 is a reply to message #1020959] |
Wed, 20 March 2013 05:23  |
Eclipse User |
|
|
|
Fred CORNU wrote on Tue, 19 March 2013 09:55Hi,
I have relaunched Eclise today and the described behaviour is not showing anymore.
I guess I should apologize for the noise.
And yes Axel, your assumptions are correct.
I guess the internal index was rebuild after you restarted Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.04272 seconds