You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to make this work. However, there are some problems with the custom ConstructorParametersReferencesSearcher that I've implemented. Find usages works properly. However, that causes some other problems:
When I rename the constructor parameter in the constructor method then my element in the annotation is not renamed. This is tested by MapstructMethodUsagesSearcherTest.testRenameConstructorTargetReferenceMethod
When I rename the element in the annotation and the class is in the same file as my annotation there is an error happening. This is tested in RenameHandlerTest.testRenameConstructorTargetParameter. When I run the plugin in an IDE and the class is not in the same file as my annotation then the renaming is correct.
The text was updated successfully, but these errors were encountered:
Just a small idea: could it be related with referenceSearch? For now, this plugin only offers methodReferenceSearch and I think PsiParameter would not be tracked during the rename process.
I've been trying to make this work. However, there are some problems with the custom
ConstructorParametersReferencesSearcher
that I've implemented. Find usages works properly. However, that causes some other problems:MapstructMethodUsagesSearcherTest.testRenameConstructorTargetReferenceMethod
RenameHandlerTest.testRenameConstructorTargetParameter
. When I run the plugin in an IDE and the class is not in the same file as my annotation then the renaming is correct.The text was updated successfully, but these errors were encountered: