You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Christian Pervoelz <cp...@gmail.com> on 2021/06/08 08:33:51 UTC

Refactoring Issue when renaming annotation types

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.