File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/amazonq/src/lsp/autoDebug Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 44 */
55
66import * as vscode from 'vscode'
7- import { getLogger , randomUUID } from 'aws-core-vscode/shared'
7+ import { getLogger , randomUUID , messages } from 'aws-core-vscode/shared'
88import { AutoDebugLspClient } from './lsp/autoDebugLspClient'
99import { mapDiagnosticSeverity } from './shared/diagnosticUtils'
1010import { ErrorContextFormatter } from './diagnostics/errorContext'
1111import { Problem } from './diagnostics/problemDetector'
12-
1312export interface AutoDebugConfig {
1413 readonly enabled : boolean
1514 readonly excludedSources : string [ ]
@@ -87,7 +86,7 @@ export class AutoDebugController implements vscode.Disposable {
8786 public async fixAllProblemsInFile ( maxProblems : number = 15 ) : Promise < void > {
8887 const editor = vscode . window . activeTextEditor
8988 if ( ! editor ) {
90- void vscode . window . showWarningMessage ( 'No active editor found' )
89+ void messages . showMessage ( 'warn' , 'No active editor found' )
9190 return
9291 }
9392
You can’t perform that action at this time.
0 commit comments