mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-32781 commit document before binding file references
This commit is contained in:
+1
@@ -287,6 +287,7 @@ public class FilePathCompletionContributor extends CompletionContributor {
|
||||
|
||||
@Override
|
||||
public void handleInsert(InsertionContext context) {
|
||||
context.commitDocument();
|
||||
if (myFile.isValid()) {
|
||||
final PsiReference psiReference = context.getFile().findReferenceAt(context.getStartOffset());
|
||||
final Pair<FileReference, Boolean> fileReferencePair = getReference(psiReference);
|
||||
|
||||
Reference in New Issue
Block a user