File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
packages/core/src/codewhisperer/commands Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ import { isRemoteWorkspace } from '../../shared/vscode/env'
55
55
import { isBuilderIdConnection } from '../../auth/connection'
56
56
import globals from '../../shared/extensionGlobals'
57
57
import { getVscodeCliPath } from '../../shared/utilities/pathFind'
58
- import { setContext } from '../../shared/vscode/setContext'
59
58
import { tryRun } from '../../shared/utilities/pathFind'
60
59
import { IssueItem , SecurityIssueTreeViewProvider } from '../service/securityIssueTreeViewProvider'
61
60
import { SecurityIssueProvider } from '../service/securityIssueProvider'
@@ -106,8 +105,6 @@ export const enableCodeSuggestions = Commands.declare(
106
105
( context : ExtContext ) =>
107
106
async ( isAuto : boolean = true ) => {
108
107
await CodeSuggestionsState . instance . setSuggestionsEnabled ( isAuto )
109
- await setContext ( 'aws.codewhisperer.connected' , true )
110
- await setContext ( 'aws.codewhisperer.connectionExpired' , false )
111
108
vsCodeState . isFreeTierLimitReached = false
112
109
await vscode . commands . executeCommand ( 'aws.amazonq.refreshStatusBar' )
113
110
}
You can’t perform that action at this time.
0 commit comments