public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io, mhaeuser@posteo.de
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>,
	Andrew Fish <afish@apple.com>,
	Michael Kubacki <Michael.Kubacki@microsoft.com>,
	Leif Lindholm <leif@nuviainc.com>,
	"mikuback@linux.microsoft.com" <mikuback@linux.microsoft.com>,
	"rebecca@nuviainc.com" <rebecca@nuviainc.com>,
	Bret Barkelew <Bret.Barkelew@microsoft.com>
Subject: Re: [edk2-devel] Progress on getting Uncrustify working for EDK2?
Date: Wed, 10 Nov 2021 11:12:50 +0100	[thread overview]
Message-ID: <20211110101250.khqunyhrbjfhlxnj@sirius.home.kraxel.org> (raw)
In-Reply-To: <7e579772-2a21-aaf5-26cc-faed0a1950e1@posteo.de>

> 5) Indent relative to the last indentation, not to symbol names, i.e.
> 
>   Status = Function (
>     A
>     );
> 
> instead of
> 
>   Status = Function (
>                    A
>                    );
> 
> Uncrustify might support this now, but I have never seen even a single IDE
> that does. It'd be kind of awkward to always write "style-broken" code and
> rely on the external tool to fix it.

IDEs typically use the parentheses for that, so this style ...

    Status = Function
        (A,
         B,
         C,
         );

... might work better in IDEs.

take care,
  Gerd


  parent reply	other threads:[~2021-11-10 10:13 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e15cf895-03a4-96cd-2754-d1cfeead6b98@nuviainc.com>
2021-08-16 19:34 ` Progress on getting Uncrustify working for EDK2? Rebecca Cran
2021-08-16 19:39   ` [edk2-devel] " Marvin Häuser
2021-08-16 20:00     ` Michael Kubacki
2021-10-07 10:48       ` Leif Lindholm
2021-10-07 15:30         ` Andrew Fish
     [not found]         ` <16ABC94F0E9D1AC5.21629@groups.io>
2021-10-07 16:03           ` Andrew Fish
2021-10-07 16:34             ` Michael D Kinney
2021-10-07 17:01               ` Michael Kubacki
2021-10-07 17:05         ` Michael D Kinney
2021-10-07 18:30         ` Marvin Häuser
2021-10-07 17:19           ` Michael D Kinney
2021-10-07 17:36             ` Andrew Fish
2021-10-07 17:43               ` Marvin Häuser
2021-10-07 21:09                 ` Andrew Fish
2021-11-09  0:23                   ` Michael D Kinney
2021-11-09  1:09                     ` Andrew Fish
2021-11-09  1:13                       ` Michael D Kinney
2021-11-09  2:46                         ` Andrew Fish
2021-11-09  3:02                           ` Michael D Kinney
2021-11-09  7:32                             ` Marvin Häuser
2021-11-09 15:43                               ` Michael D Kinney
2021-11-09 16:12                                 ` Marvin Häuser
2021-11-09 16:33                                   ` Michael D Kinney
2021-11-09 20:55                                     ` Leif Lindholm
2021-11-09 21:20                                       ` Michael D Kinney
2021-11-09 23:23                                         ` Leif Lindholm
2021-11-10 10:12                                   ` Gerd Hoffmann [this message]
2021-11-09  1:12                     ` 回复: " gaoliming
2021-11-09 15:22                       ` Michael D Kinney
2021-11-09  8:40                     ` Gerd Hoffmann
2021-11-09 11:56                       ` Michael Brown
2021-11-09 12:36                       ` Leif Lindholm
2021-11-09 14:10                         ` Gerd Hoffmann
2021-11-09 15:44                           ` Michael D Kinney
2021-11-10 15:38                             ` Michael Kubacki
2021-11-09 15:08                         ` Michael D Kinney
2021-11-09 18:13                           ` Andrew Fish
2021-11-09 18:26                             ` Michael D Kinney
2021-11-09 18:52                               ` Andrew Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211110101250.khqunyhrbjfhlxnj@sirius.home.kraxel.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox