[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.
- bug#63141: Incorrect indentation in csharp-mode, Jen-Chieh Shen, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode,
Eli Zaretskii <=
- bug#63141: Incorrect indentation in csharp-mode, Theodor Thornhill, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Theodor Thornhill, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Eli Zaretskii, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Theodor Thornhill, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Theodor Thornhill, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Jen-Chieh Shen, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Eli Zaretskii, 2023/04/29
- bug#63141: Incorrect indentation in csharp-mode, Jen-Chieh Shen, 2023/04/29
- bug#63141: Incorrect indentation in csharp-mode, Eli Zaretskii, 2023/04/29
- bug#63141: Incorrect indentation in csharp-mode, Theodor Thornhill, 2023/04/29