Subject: Re: bug#61115: 29.0.60; java-ts-mode - Wrong indentation for class members with annotation

From: 太阳 <[email-masked]>
Date: Sun, 29 Jan 2023 04:29:55 +0000

I've updated to the latest emacs-29 and it works as expected. Thanks.

Theodor Thornhill 在 2023年01月29日 星期日 03时00分26秒 (+08:00) 写道：

> 太阳 <[email-masked]> writes:
> 
> > For java class members without any access modifier (aka default
> > modifier), if you add an annotation to it, java-ts-mode will add
> > another level of indentation, making it look like:
> >
> > public class T {
> >     @Autowired
> >         String a;
> > }
> >
> > This behaviour is different from java-mode's too.
> >
> > If you add private before 'String a;', java-ts-mode will indent it well
> >
> >
> > public class T {
> >     @Autowired
> >     private String a;
> > }
> >
> 
> Hi and thanks for your clear report.
> 
> This should be fixed on latest emacs-29 branch, and soon on master :-)
> 
> Theo
> 

-- 
发送自 Vivaldi 邮件。访问 vivaldi.com 免费下载