We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41469b commit 432c72eCopy full SHA for 432c72e
Core/Sources/Service/SuggestionCommandHandler/WindowBaseCommandHandler.swift
@@ -46,14 +46,6 @@ struct WindowBaseCommandHandler: SuggestionCommandHandler {
46
47
try Task.checkCancellation()
48
49
- let snapshot = FilespaceSuggestionSnapshot(
50
- linesHash: editor.lines.hashValue,
51
- cursorPosition: editor.cursorPosition
52
- )
53
-
54
- // There is no need to regenerate suggestions for the same editor content.
55
- guard filespace.suggestionSourceSnapshot != snapshot else { return }
56
57
try await workspace.generateSuggestions(
58
forFileAt: fileURL,
59
editor: editor
0 commit comments