Skip to content

Commit 43d698f

Browse files
committed
patch projectContextEditorListener not updating index
1 parent 8577d78 commit 43d698f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/editor/context/project/ProjectContextEditorListener.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ class ProjectContextEditorListener : FileEditorManagerListener {
1616
saveDocument(it)
1717
}
1818
}
19+
20+
val project = event.manager.project
21+
ProjectContextController.getInstance(project).updateIndex(oldFile.path)
1922
}
2023
}

0 commit comments

Comments
 (0)