bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63141: Incorrect indentation in csharp-mode


From: Eli Zaretskii
Subject: bug#63141: Incorrect indentation in csharp-mode
Date: Fri, 28 Apr 2023 10:44:16 +0300

> From: Jen-Chieh Shen <jcs090218@gmail.com>
> Date: Fri, 28 Apr 2023 00:25:16 -0700
> 
> It seems like there is an indentation error with the following C# code:
> 
> ```csharp
> public class Foo {
>     [Header("")]
> 
>         [Tooltip("")]
>         [SerializeField]
>         private Block mBlockUp = null;
> }
> ```
> 
> expected behavior:
> 
> ```csharp
> public class Foo {
>     [Header("")]
> 
>     [Tooltip("")]
>     [SerializeField]
>     private Block mBlockUp = null;
> }
> ```
> 
> I've tested this bug with emacs -q, and the bug persists.

Theo, Jostein: could you please take a look?  csharp-ts-mode behaves
correctly with this code snippet, FWIW.  But csharp-mode doesn't.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]