@@ -54,7 +54,6 @@ export class AutoDebugController implements vscode.Disposable {
5454 async initialize ( ) : Promise < void > {
5555 try {
5656 this . logger . info ( 'AutoDebugController: Initializing auto debug controller' )
57- this . logger . info ( 'AutoDebugController: Controller initialized successfully' )
5857 } catch ( error ) {
5958 this . logger . error ( 'AutoDebugController: Failed to initialize controller: %s' , error )
6059 throw error
@@ -119,8 +118,6 @@ export class AutoDebugController implements vscode.Disposable {
119118 */
120119 async fixSpecificProblems ( range ?: vscode . Range , diagnostics ?: vscode . Diagnostic [ ] ) : Promise < void > {
121120 try {
122- this . logger . debug ( 'AutoDebugController: Fixing specific problems' )
123-
124121 const editor = vscode . window . activeTextEditor
125122 if ( ! editor ) {
126123 throw new Error ( 'No active editor found' )
@@ -217,8 +214,6 @@ export class AutoDebugController implements vscode.Disposable {
217214 */
218215 async explainProblems ( range ?: vscode . Range , diagnostics ?: vscode . Diagnostic [ ] ) : Promise < void > {
219216 try {
220- this . logger . debug ( 'AutoDebugController: Explaining problems' )
221-
222217 const editor = vscode . window . activeTextEditor
223218 if ( ! editor ) {
224219 throw new Error ( 'No active editor found' )
@@ -234,7 +229,6 @@ export class AutoDebugController implements vscode.Disposable {
234229 }
235230
236231 if ( ! targetDiagnostics || targetDiagnostics . length === 0 ) {
237- void vscode . window . showInformationMessage ( 'No problems found to explain' )
238232 return
239233 }
240234
@@ -261,21 +255,17 @@ export class AutoDebugController implements vscode.Disposable {
261255 */
262256 async detectProblems ( ) : Promise < void > {
263257 try {
264- this . logger . debug ( 'AutoDebugController: Detecting problems' )
265-
266258 const editor = vscode . window . activeTextEditor
267259 if ( ! editor ) {
268260 throw new Error ( 'No active editor found' )
269261 }
270262
271263 const filePath = editor . document . uri . fsPath
272- const fileName = editor . document . fileName
273264
274265 // Get all diagnostics for the current file
275266 const allDiagnostics = vscode . languages . getDiagnostics ( editor . document . uri )
276267
277268 if ( allDiagnostics . length === 0 ) {
278- void vscode . window . showInformationMessage ( `✅ No problems detected in ${ fileName } ` )
279269 return
280270 }
281271
@@ -385,7 +375,6 @@ export class AutoDebugController implements vscode.Disposable {
385375 }
386376
387377 public dispose ( ) : void {
388- this . logger . debug ( 'AutoDebugController: Disposing auto debug controller' )
389378 vscode . Disposable . from ( ...this . disposables ) . dispose ( )
390379 }
391380}
0 commit comments