Re: Rapid development with Project Builder...how?
Re: Rapid development with Project Builder...how?
- Subject: Re: Rapid development with Project Builder...how?
- From: Ondra Cada <email@hidden>
- Date: Mon, 29 Oct 2001 11:22:14 +0100
Charles,
CS> On Sunday, October 28, 2001, at 11:54 AM, Rosyna wrote:
CS> >Doesn't PB have F5 completetion?
>
>>>>> Charles Srstka (CS) wrote at Sun, 28 Oct 2001 16:42:08 -0600:
CS> Indeed it does! Thank you so much - this is one of the most awesome
CS> features I've ever seen! Sometimes I am really glad I read this list...
Indeed it does, but it's not the feature we are speaking of.
The plain system-wide (see Input Management!) completion uses in PB just the
identifiers from the current file. Just try it:
- make a new project, type Foundation Tool;
- in the main.m make a new line after the "//insert code here...";
- enter "NSStr" and press F5...
Oops. It should complete to "NSString", but would not, since information
from frameworks is not taken into account. That's the problem.
It should work the way it did in PBWO -- like
- enter "nsstr", Alt-Esc completes it to "NSString" (note case insensitivity here!)
- enter " *s=[ns", F5 completes it to "NSString" (this time using the
"simple" completion)
- enter " stringw", Alt-Esc completes it to "stringWith"
- enter "c", Alt-Esc completes it to "stringWithCString:"
- enter "argv[1]];", Enter,
- on new line, enter "nsar", Alt-Esc completes it to something unwanted and
an info box in the upper right corner of the window says you there are "4
possible completions"
- you press Alt-Esc once more to get the desired NSArray;
- enter " *a=[s comp", Alt-Esc thrice (the same trick with "5 possible
completiions") completes it to "components";
- enter "s", Alt-Esc completes it to "componentsSeparatedByString:"
Etc. _This_ functinality is what we so gravely lack in the new PB. The
simple completion based on the current file contents is better than nothing,
but relatively unimportant.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc