File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { Service } from 'aws-sdk'
24
24
import userApiConfig = require( './../../codewhisperer/client/user-service-2.json' )
25
25
import CodeWhispererUserClient = require( '../../codewhisperer/client/codewhispereruserclient' )
26
26
import { codeWhispererClient } from '../../codewhisperer/client/codewhisperer'
27
+ import { RecommendationHandler } from '../../codewhisperer/service/recommendationHandler'
27
28
28
29
export async function resetCodeWhispererGlobalVariables ( ) {
29
30
vsCodeState . isIntelliSenseActive = false
@@ -32,6 +33,7 @@ export async function resetCodeWhispererGlobalVariables() {
32
33
globals . telemetry . logger . clear ( )
33
34
session . reset ( )
34
35
await CodeSuggestionsState . instance . setSuggestionsEnabled ( false )
36
+ await RecommendationHandler . instance . clearInlineCompletionStates ( )
35
37
}
36
38
37
39
export function createMockDocument (
You can’t perform that action at this time.
0 commit comments