Re: Brace Insertion Tweak
Re: Brace Insertion Tweak
- Subject: Re: Brace Insertion Tweak
- From: Daniel DeCovnick <email@hidden>
- Date: Tue, 20 Mar 2012 01:46:19 -0700
Filed this last year as 8908847. You're not alone!
On Mar 18, 2012, at 12:05 PM, Seth Willits wrote:
> 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
_______________________________________________
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