Skip to content

Commit 2c22d6e

Browse files
committed
Remove TODO that filterText of override completions should not contain func in filterText
The current behavior is the correct one. Otherwise you don’t get any override completions in VS Code after typing `func <something>`.
1 parent 79964c8 commit 2c22d6e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Tests/SourceKitLSPTests/SwiftCompletionTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ final class SwiftCompletionTests: XCTestCase {
339339
XCTFail("No completion item with label 'foo()'")
340340
return
341341
}
342-
// TODO: The filter text should be "foo()" (https://github.com/swiftlang/sourcekit-lsp/issues/1599)
343342
XCTAssertEqual(item.filterText, "func foo()")
344343
XCTAssertEqual(
345344
item.textEdit,

0 commit comments

Comments
 (0)