mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
preserve javadoc refs during inplace rename (IDEA-85817)
This commit is contained in:
+1
@@ -220,6 +220,7 @@ public class JavaDocCompletionContributor extends CompletionContributor {
|
||||
if (context.getCompletionChar() == Lookup.REPLACE_SELECT_CHAR) {
|
||||
final PsiDocTagValue valueElement = tag.getValueElement();
|
||||
endOffset = valueElement.getTextRange().getEndOffset();
|
||||
context.setTailOffset(endOffset);
|
||||
}
|
||||
editor.getDocument().deleteString(afterSharp, endOffset);
|
||||
editor.getCaretModel().moveToOffset(signatureOffset);
|
||||
|
||||
Reference in New Issue
Block a user