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
val surroundingElement = completableElement(file, cursor) ?:return emptySequence()
85
-
var completions = elementCompletions(file, cursor, surroundingElement)
86
-
87
-
index.withGlobalDescriptors {
88
-
completions += it // TODO: Filter non-imported (i.e. the elementCompletions already found) and auto-import these when selected by the user
89
-
}
85
+
val completions = elementCompletions(file, cursor, surroundingElement) + index.globalDescriptors.values // TODO: Filter non-imported (i.e. the elementCompletions already found) and auto-import these when selected by the user
90
86
91
87
val matchesName = completions.filter { containsCharactersInOrder(name(it), partial, caseSensitive =false) }
0 commit comments