[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63141: Incorrect indentation in csharp-mode
From: |
Theodor Thornhill |
Subject: |
bug#63141: Incorrect indentation in csharp-mode |
Date: |
Fri, 28 Apr 2023 10:50:09 +0200 |
Eli Zaretskii <eliz@gnu.org> writes:
>> 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.
Yep, I'll look at it immediately!
Thanks for the heads up :-)
Theo
- bug#63141: Incorrect indentation in csharp-mode, Jen-Chieh Shen, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode, Eli Zaretskii, 2023/04/28
- bug#63141: Incorrect indentation in csharp-mode,
Theodor Thornhill <=
- 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
- bug#63141: Incorrect indentation in csharp-mode, Eli Zaretskii, 2023/04/29