Skip to content

Commit 986afee

Browse files
committed
Merge branch 'feature/remove-snapshot-check-fetching-suggestion-manually' into develop
2 parents d41469b + 432c72e commit 986afee

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Core/Sources/Service/SuggestionCommandHandler/WindowBaseCommandHandler.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ struct WindowBaseCommandHandler: SuggestionCommandHandler {
4646

4747
try Task.checkCancellation()
4848

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-
5749
try await workspace.generateSuggestions(
5850
forFileAt: fileURL,
5951
editor: editor

0 commit comments

Comments
 (0)