• 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: Brace Insertion Tweak
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Brace Insertion Tweak
      • From: G S <email@hidden>
    • Re: Brace Insertion Tweak
      • From: Thomas Davie <email@hidden>
References: 
 >Brace Insertion Tweak (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Why so many public properties all up in my grizzle?
  • Next by Date: Re: Brace Insertion Tweak
  • Previous by thread: Re: Brace Insertion Tweak
  • Next by thread: Re: Brace Insertion Tweak
  • Index(es):
    • Date
    • Thread