Re: Code collapse/expand
Re: Code collapse/expand
- Subject: Re: Code collapse/expand
- From: David Ewing <email@hidden>
- Date: Tue, 3 Feb 2004 17:23:16 -0700
On Feb 3, 2004, at 3:31 PM, Keith Renz wrote:
But then you have to find the brace. It's very nice to simply place
your cursor in the questionable section of code, especially if the
braces are out of view, and press cmd-B (or whatever) to and have the
editor select left and right to the nearest set of braces. It was a
very nice feature in CodeWarrior which I sorely miss.
As someone already mentioned, there's a balance command in the Format
menu. If you use the default CodeWarrior key bindings, it's set to
Cmd-B. (If you've customized your key bindings, you'll need to
customize this one too.)
I also miss being able to do this and then press the enter key to
toggle back and forth from one end of a text selection to the other
end when the text selection is larger than the text view. (This
applies to any selection, not just from brace to brace.)
This sounds very useful to me. Could you please file an enhancement
request at <http://developer.apple.com/bugreporter>. Thanks.
Dave
Keith
-----
On Feb 3, 2004, at 9:26 AM, Jonathan Jackel 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.
Hugh Sontag
Qdea
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.
Jonathan
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.