Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Project Builder and autocomplete ?

Project Builder and autocomplete ?
Thread Tools
Senior User
Join Date: Apr 2002
Location: Aarhus, Denmark
Status: Offline
Reply With Quote
Apr 15, 2003, 06:09 AM
 
Hi.

I have been using Visual Studio at school, and Project Builder at home to do my school excersises. ( Java & C++)
A thing that I love about Visual Studio is the autocomplete function(*).
But is it true, that there are no function like that in Project Builder ?
I have tried various combinations of shift, tab, command and ctrl keys, but whit out any luck.

Jens Peter

----
(*) The autocomplete function, helps you by showing you the avaliable functions and variables of an object.
If say, you have a object of a class named calculator, and that class contains some math functions. When I then create a object of calculator ( calc ) and i want to use the calc object, calc.[then the autocomplete shows me the functions & variable avaliable]
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Apr 15, 2003, 09:28 AM
 
Hmmm - PB doesn't have exactly that - although it does have two functions that will provide all you need.

1 - class browser - you can see all the methods of a class by looking in the "Class Browser" tab (vertical tab) - I find alphabetical view easier that inheritance view.

For an alternative see cocoaBrowser - http://homepage2.nifty.com/hoshi-tak...cocoa-browser/

2 - autocompletion of object / method / variable names. -

If you press F5 after typing part of a method name or Class name or instance variable then it autocompletes.

e.g.
"NSL" completes to "NSLog"
"ini" completes to "init"
"myInst" completes to "myInstanceVariable" (assuming you have an instance var called myInstanceVariable)

I think you have to have typed the word once already in the project before the recognition works - I may be wrong.
     
Grizzled Veteran
Join Date: Aug 2002
Location: Central Texas
Status: Offline
Reply With Quote
Apr 16, 2003, 12:42 AM
 
This is the ONE thing I want from Windows. Oh and pressing F1 on any documented function to get its documention.
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Apr 16, 2003, 01:51 AM
 
You can Command-double-click any symbol (function or otherwise) to get its definition in the headers, or Option-double-click to get documentation.
(Last edited by Rickster; Apr 16, 2003 at 01:57 AM. )
Rick Roe
icons.cx | weblog
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:24 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2