We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a3bde commit b57f1e8Copy full SHA for b57f1e8
src/codewhisperer/util/authUtil.ts
@@ -72,10 +72,7 @@ export class AuthUtil {
72
vscode.commands.executeCommand('aws.codeWhisperer.refreshStatusBar'),
73
vscode.commands.executeCommand('aws.codeWhisperer.updateReferenceLog'),
74
])
75
- // To check valid connection
76
- if (this.isValidEnterpriseSsoInUse() || (this.isBuilderIdInUse() && !this.isConnectionExpired())) {
77
- await vscode.commands.executeCommand('aws.codeWhisperer.enableCodeSuggestions')
78
- }
+
79
await vscode.commands.executeCommand('setContext', 'CODEWHISPERER_ENABLED', this.isConnected())
80
})
81
}
0 commit comments