This pull request refactors the code in extension.ts to replace logger imports with the logger parameter in formatSql.ts, completion.ts, extension.ts, and startSqlsClient.ts. It also fixes unnecessary code duplication and improves SQL extraction in extension.ts.
This pull request refactors the code in extension.ts to replace logger imports with the logger parameter in formatSql.ts, completion.ts, extension.ts, and startSqlsClient.ts. It also fixes unnecessary code duplication and improves SQL extraction in extension.ts.