• 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: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 20 Jul 2008 13:04:55 +0200


Le 20 juil. 08 à 04:07, email@hidden a écrit :


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?

Eclipse is design for Java (even if there is some extension for C/C++) and so it can do everything a Java project need. Run Unit Test, create java command line tools, java GUI app, build server side app (java bean, jsp servlet, …). It is based on the 'ant' build system that is very flexible and powerfull and can probably be used to do all the things you mention (running shell scripts, build javadoc, build autoconf, automake projects).


The difference here, is more about refactoring capabilities. Java is static typed, does not have something like categories, and other features that make it easier to index and refactor.



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 .



Just a details, that's not LLVM that will bring refactor support, better indexation (and more) to Xcode, but clang, the C/C++/Obj-C compiler based on LLVM.




_______________________________________________
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


References: 
 >Re: Spoiled by Java IDEs (From: Greg Guerin <email@hidden>)
 >Re: Spoiled by Java IDEs (From: email@hidden)

  • Prev by Date: Re: Persistent bug on Xcode 3.1
  • Next by Date: IB/Xcode drag files from finder to app, tutorial?
  • Previous by thread: Re: Spoiled by Java IDEs
  • Next by thread: Missing Weak Link checkbox in Get Info (Xcode 3.1)
  • Index(es):
    • Date
    • Thread