Skip to content

Commit 0a80a12

Browse files
authored
fix(codewhisperer): only enable intellisense config in Cloud9 #2733
1 parent 9d498ef commit 0a80a12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/codewhisperer/activation.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ const performance = globalThis.performance ?? require('perf_hooks').performance
4848

4949
export async function activate(context: ExtContext): Promise<void> {
5050
/**
51-
* Enable essential intellisense default settings
51+
* Enable essential intellisense default settings for AWS C9 IDE
5252
*/
53-
await enableDefaultConfig()
53+
if (isCloud9()) {
54+
await enableDefaultConfig()
55+
}
5456

5557
/**
5658
* CodeWhisperer security panel

0 commit comments

Comments
 (0)