Skip to content

Commit bc9f24b

Browse files
committed
include all file types for quick fix
1 parent dfa633f commit bc9f24b

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

packages/core/src/amazonq/autoDebug/ide/codeActionsProvider.ts

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,9 @@ export class AutoDebugCodeActionsProvider implements vscode.CodeActionProvider,
2222
}
2323

2424
private registerProvider(): void {
25-
// Register for all file types that might have diagnostics
25+
// Register for all file types
2626
const selector: vscode.DocumentSelector = [
27-
{ scheme: 'file', language: 'typescript' },
28-
{ scheme: 'file', language: 'javascript' },
29-
{ scheme: 'file', language: 'python' },
30-
{ scheme: 'file', language: 'java' },
31-
{ scheme: 'file', language: 'csharp' },
32-
{ scheme: 'file', language: 'cpp' },
33-
{ scheme: 'file', language: 'c' },
34-
{ scheme: 'file', language: 'go' },
35-
{ scheme: 'file', language: 'rust' },
36-
{ scheme: 'file', language: 'php' },
37-
{ scheme: 'file', language: 'ruby' },
38-
{ scheme: 'file', language: 'json' },
39-
{ scheme: 'file', language: 'yaml' },
40-
{ scheme: 'file', language: 'xml' },
27+
{ scheme: 'file' }, // All file types
4128
]
4229

4330
this.disposables.push(

0 commit comments

Comments
 (0)