• 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: Spoiled by Java IDEs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spoiled by Java IDEs


  • Subject: Re: Spoiled by Java IDEs
  • From: email@hidden
  • Date: Sat, 19 Jul 2008 22:07:44 -0400


On Jul 19, 2008, at 6:15 PM, Greg Guerin wrote:

Graham Perks wrote:

Ken, agreed, of course. In Eclipse this might be implemented as right-click on the method name, and the resulting popup offering an "Add to Interface" menu. That would be useful in Xcode too, saving you the time of switching to the .h and a bunch of keystrokes to copy/paste. The point is to let you keep coding right where you are, and not have to stop and scroll to the top of a method or off to another file.

Some of these things strike me as entirely scriptable.


For example, if the selection contains a message selector and args, a script called "Add to Interface" would do exactly that. Other things like expanding ivars to accessors also seem scriptable.


In the spirit of turning lemons into lemonade...

Shift-Down Arrow to select the line, copy, Command-Shift-Up Arrow to jump to the counter part, paste, Command-Shift-Up Arrow to jump back to where you started.

Admittedly, not as easy as "Add to Interface", but that would probably save me a minute per month.


Some IDE's have a built-in feature that either adds or removes //'s in front of every line of the current selection.

Command - /. It's in the menus as Scripts -> Comments -> Un/Comment Selection


Another common feature is to search docs or the web for the current selection.

Option - double-click to search docs. Command-double-click to find the definition in the header. Scripts -> Search -> Search Google For Selection. You can assign a keystroke, if you prefer.


Xcode doesn't have builtins for either of these: each one is a script in the scripts menu (the scroll-like icon next to Help).


Would that offer any advantage (serious question)?


I admit I'm not familiar with Java/Eclipse, but in defense of Xcode, it has a daunting task to be a jack-of-all-trades. I have projects that mix C, C++, Objective-C, Objective-C++, and assembly. I have projects that build kernel extensions, command-line tools, and GUI apps. I have projects that build make/autoconf-based libraries, run flex/bison compilers, run custom shell scripts, compile Apple Help, build Header Doc documentation, run unit tests, and more. Can Eclipse really handle all that with aplomb?


Don't get me wrong, I don't wish to start a flame-war. There are some interesting features that will be enabled by LLVM, and I appreciate the specific suggestions, because certainly there is room for Xcode to improve. But, it's also clear that some of the complaints, here and in other threads, stem from a lack of familiarity with the IDE/ languages/frameworks, etc. Maybe VisualStudio or Eclipse transition guides and FAQs would help newcomers make the most of the environment .

Aaron

_______________________________________________
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: Spoiled by Java IDEs
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Re: Spoiled by Java IDEs (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: best way to delete the developer subsystem?
  • Next by Date: Re: Upgrade to Xcode 3.1 ?
  • Previous by thread: Re: Spoiled by Java IDEs
  • Next by thread: Re: Spoiled by Java IDEs
  • Index(es):
    • Date
    • Thread