• 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: Code collapse/expand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code collapse/expand


  • Subject: Re: Code collapse/expand
  • From: Marshall Clow <email@hidden>
  • Date: Tue, 3 Feb 2004 06:59:29 -0800

Jonathan Jackel <email@hidden> wrote:
On Feb 2, 2004, at 8:18 PM, Hugh Sontag wrote:

Where would one go about stuffing the ballot box in favor of this
getting implemented sooner than later? :-)

Count me in. The one thing that I miss from Code Warrior is the ability to find out whether my curly braces are balanced. In Code Warrior, command-B would expand a selection to include one additional set of curly braces. It was great for figuring out whether the if or while brackets were right.


Double-click on the outermost brace. If your braces aren't balanced, XCode will beep. If they are, it will select the whole code block.

MPW was even better than this.

Double-click on a brace would select the block enclosed by the brace.
However, if you double-click and hold, not only would it select the block of code,
but as you moved the mouse (still with the mouse button down), the selection would
"bounce" so that the outermost code block that the mouse was inside would be selected.


[ It's hard to explain, but wonderful to use. Check all your braces in a couple seconds. ]

Old versions of CodeWarrior had this feature too, but they lost it about when the IDE was
rewritten in PowerPlant (about 1997). :-(
--
-- Marshall


Marshall Clow     Idio Software   <mailto:email@hidden>
Hey! Who messed with my anti-paranoia shot?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Code collapse/expand
      • From: Frank Midgley <email@hidden>
References: 
 >Re: Code collapse/expand (From: Hugh Sontag <email@hidden>)
 >Re: Code collapse/expand (From: Jonathan Jackel <email@hidden>)

  • Prev by Date: Re: Code collapse/expand
  • Next by Date: Re: -fast destroys ppc_intrinsic functions (part II)
  • Previous by thread: Re: Code collapse/expand
  • Next by thread: Re: Code collapse/expand
  • Index(es):
    • Date
    • Thread