Skip to content

Commit db66d29

Browse files
committed
Fix bug where completion is shown twice for functions in the same file
1 parent 6963f60 commit db66d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/de/halirutan/mathematica/codeinsight/completion/providers/ImportedSymbolCompletion.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ImportedSymbolCompletion : MathematicaCompletionProvider() {
6969
indexID,
7070
it,
7171
null,
72-
{ _, _ -> false },
72+
{ file, _ -> file == originalFile.virtualFile },
7373
moduleScope
7474
)
7575
ProgressManager.checkCanceled()

0 commit comments

Comments
 (0)