Skip to content

Commit 00f53bb

Browse files
committed
clear
1 parent a67d4dc commit 00f53bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/amazonq/src/app/inline/sessionManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export class SessionManager {
136136
// Ideally use this API handleDidShowCompletionItem
137137
// https://github.com/microsoft/vscode/blob/main/src/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts#L83
138138
updateCodeReferenceAndImports() {
139+
this.clearReferenceInlineHintsAndImportHints()
139140
if (this.activeSession?.suggestions && this.activeSession.suggestions.length > 0) {
140141
const reference = this.activeSession.suggestions[this._currentSuggestionIndex].references
141142
if (reference && reference.length > 0) {

0 commit comments

Comments
 (0)