[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#75154: 31.0.50; java-ts-mode. Issues with Indentation
From: |
Eli Zaretskii |
Subject: |
bug#75154: 31.0.50; java-ts-mode. Issues with Indentation |
Date: |
Sat, 28 Dec 2024 10:37:53 +0200 |
> From: Artem <snake05865@gmail.com>
> Date: Fri, 27 Dec 2024 18:34:45 +0300
>
> 2) Inner Classes
> Example 1:
> public class Outer {
> class Inner {| <-- cursor here moves Inner class unexpectedly
>
> }
> }
> Example 2:
> public class Outer {
> class Inner { // ???
> | <-- cursor here.
> }
> }
>
> Why does this happen?
Crystal ball says this is because electric-indent-mode is turned on
(it is turned on by default in Emacs).