Re: repost: rebuild codesense index?
Re: repost: rebuild codesense index?
- Subject: Re: repost: rebuild codesense index?
- From: David Ewing <email@hidden>
- Date: Fri, 14 Oct 2005 10:32:22 -0600
On Oct 14, 2005, at 5:55 AM, Markian Hlynka wrote:
Sorry, everyone. I just realized I posted my message in rtf, and
I've been asked before by a few people not to do that. Sorry!
Missed it this time! So, in case anyone was having trouble reading
it and irritated at me, here's a plaintext version. If you're
irritated at me for resending this, you should be irritated at the
people who complained in the past. :-P
So:
I'm just getting into codesense, and it works way better than
before. I have so many questions (Which the docs don't seem to
answer), but here are my 2 most important related ones:
1. I have 2 functions:
void print_by_name(const std::vector<int>& vec) const;
std::string print_by_name(const int& one) const;
When I bring up the completion list, I get:
workingSet->print_by_name(<#const std#>);
So, that's not especially helpful. 'cause of that "std", I can't
tell which function that is. Secondly, the second function that
returns a string doesn't show up at all. Is this because Xcode has
issues dealing with overloaded functions, or does my index need
updating?
This is a known limitation. Code Sense doesn't really understand C++
namespaces.
2. How do I force the index to rebuild?
There's a button in the General pane of Project->Edit Project Settings.
Ok, I lied, I have 3 questions:
3. it seems to me that sometimes my typos get indexed and offered
back to me. Is this correct behaviour, and apart from being
careful, how do I avoid it? ie, will they disappear on the next
index update?
Yes, they should disappear. The completion list also contains the
list of words in the current file in case you've added some new stuff
that hasn't yet been indexed. Indexing happens when the file gets saved.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden