mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-24 05:44:32 +00:00
fix: service type
This commit is contained in:
parent
f2e27f1d52
commit
9c49c4e6bd
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class FileSuggestionGroupItem(private val project: Project) : SuggestionGroupIte
|
|||
if (searchText == null) {
|
||||
val projectFileIndex = project.service<ProjectFileIndex>()
|
||||
return readAction {
|
||||
project.service<FileEditorManager>().openFiles
|
||||
FileEditorManager.getInstance(project).openFiles
|
||||
.filter { projectFileIndex.isInContent(it) }
|
||||
.toFileSuggestions()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue