Brace Insertion Tweak
Brace Insertion Tweak
- Subject: Brace Insertion Tweak
- From: Seth Willits <email@hidden>
- Date: Sun, 18 Mar 2012 12:05:46 -0700
Filed as Radar 11070596
What I would like is for
if (a) {^Blah();
(where ^ is the insertion point), when you press the return key, Blah() would be wrapped in the braces that Xcode inserts.
Expected Results:
The result is
if (a) {
}Blah();
Actual Results:
I would like to see
if (a) {
Blah();
}
When the return key is pressed and Xcode will insert the closing brace, it simply needs to check if there is any text between the selection point and the end of the line; That text would then be inserted in-between the braces.
I honestly run across this minor annoyance many many times a day, and this small tweak would make this sooo much nicer.
http://sethwillits.com/temp/XcodeBraceInsertionCurrentBehavior.mov
http://sethwillits.com/temp/XcodeBraceInsertionDesiredBehavior.mov
If any of you agree, extra radars would be helpful. ;-)
--
Seth Willits
_______________________________________________
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