netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Pervoelz <cpervo...@gmail.com>
Subject Refactoring Issue when renaming annotation types
Date Tue, 08 Jun 2021 08:33:51 GMT
Hi,

sorry for dropping this issue here, but I really don't want to create a
JIRA account just for that bug.

Attached is a simple maven project, consisting of an annotation
(RefacAnnotation) and a simple class with a couple of annotated variables.

*Steps:*
*Rename the annotation!*
It does not matter from where it is renamed or to what, the result is
always as shown in the picture below

[image: image.png]
a) the annotations is not renamed everywhere (related to b) )
b) The variables are not together any more (which is good style, but
inappropriate behavior for the IDE)
c) the indent is not respecting the format settings

I wouldn't care much for this, as the compiler will find it, but when
working on a project, with a lot of annotated types used, it is super
annoying and time consuming to manually correct this.

Greetz
C.

Mime
View raw message