• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Okay, I admit it, I miss CodeWarrior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Okay, I admit it, I miss CodeWarrior


  • Subject: Re: Okay, I admit it, I miss CodeWarrior
  • From: Paul Archibald <email@hidden>
  • Date: Thu, 26 Oct 2006 14:44:13 -0700

James,

I will have another look at the class browser, to see if I can get some use out of it. You have pointed me to a couple of things that look promising, especially the View->Reveal thing. Also, looking at the Configuration Options settings I found some weirdnesses which were not helpful.

I think it will take a little longer to decide how these things can help. One needs to be aware of the tools, and then find the appropriate use for them.

I still have the code-completion problem, even after rebuilding the code-sense index and the project. Maybe restarting Xcode or my Mac will help.

Maybe if I knew enough about Xcode to write a book about it I would be happier about its performance. Perhaps its because I am working on a large Java project.

I still miss CW. Metrowerks blew it. Sigh.

On Oct 26, 2006, at 1:20 PM, James Bucanek wrote:

Paul Archibald wrote on Thursday, October 26, 2006:
Am I missing something in Xcode, or does its class hierarchy viewer/
browser pretty much suck?

While I'll admit that is has it's limitations, I use it every day and would hardly say that it "sucks."


I am working in Java, and I am so tired of
having to search through a bunch of source files to determine the
inheritance tree for some class I am working with. I thought that was
what computers were for!

Color me confused. You have the class browser window open and set to "Hierarchy," I presume? What part of this picture are you having problems understanding? The inheritance of the class should be obvious from the hierarchy of tree. The inheritance of member functions and variables is also clearly illustrated, including nifty little tool tips that will tell you exactly what class the member is defined in, and keyboard shortcuts for jumping right to either its definition or its implementation.


If you're having problems locating a class in the tree, there's View > Reveal in Class Browser. I use this so often that I set a keyboard shortcut for it.

And don't forget another, often overlooked, Xcode gem: The class modeling tool.

CodeWarrior was so much better at this.

People keep saying this. I guess I'm the only one who remembers all the stuff CodeWarrior wasn't good at.


On a similar thread, I find the code completion thing very useful,
most of the time. However, yesterday while working on a particular
file it refused to work. In another file of the same project it works
fine. Why would it work in one file but not another, and what can I
do about it?

Code completion can get confused particularly while you're editing code. Incomplete/invalid syntax can throw it for a loop and sometimes (rarely) it doesn't recover. Usually correcting the syntax and saving the file will fix it.


I cleaned and rebuilt the entire project to no avail.

Code Sense uses its own symbols database. This is completely independent of what products your project produces. Thus, cleaning or rebuilding your project will have no effect on the code sense index (and visa versa). If symbol lookup or Code Sense start acting whacky, open the Info window for the project and click on Rebuild Code Sense Index.



James Bucanek ____________________________________________________________________ Author of Beginning Xcode ISBN: 047175479X <http://www.beginningxcode.com/>


_______________________________________________ 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
  • Follow-Ups:
    • Re: Okay, I admit it, I miss CodeWarrior
      • From: James Bucanek <email@hidden>
References: 
 >Re: Okay, I admit it, I miss CodeWarrior (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Okay, I admit it, I miss CodeWarrior
  • Next by Date: Mac fkeys
  • Previous by thread: Re: Okay, I admit it, I miss CodeWarrior
  • Next by thread: Re: Okay, I admit it, I miss CodeWarrior
  • Index(es):
    • Date
    • Thread