File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export class DecorationManager {
3838 // Log the colors being used
3939 const theme = this . themeManager . getCurrentTheme ( ) ;
4040 this . outputChannel ?. appendLine ( `Initializing decorations for ${ theme } theme` ) ;
41- this . outputChannel ?. appendLine ( `Sample colors: property=${ colors . property } , brace =${ colors . brace } ` ) ;
41+ this . outputChannel ?. appendLine ( `Sample colors: property=${ colors . property } , format =${ colors . format } ` ) ;
4242
4343 // Create decoration types with theme-appropriate colors
4444 const decorationTypes : [ string , vscode . TextEditorDecorationType ] [ ] = [
Original file line number Diff line number Diff line change @@ -18,8 +18,12 @@ export function activate(context: vscode.ExtensionContext) {
1818 const themeManager = new ThemeManager ( ) ;
1919 const currentTheme = themeManager . getCurrentTheme ( ) ;
2020
21+ // Get version from package.json
22+ const extension = vscode . extensions . getExtension ( 'mtlog.serilog-syntax-vscode' ) ;
23+ const version = extension ?. packageJSON ?. version || 'unknown' ;
24+
2125 outputChannel . appendLine ( '=================================' ) ;
22- outputChannel . appendLine ( ' Serilog Syntax Highlighting v0.0.1' ) ;
26+ outputChannel . appendLine ( ` Serilog Syntax Highlighting v ${ version } ` ) ;
2327 outputChannel . appendLine ( '=================================' ) ;
2428 outputChannel . appendLine ( `Extension activated successfully` ) ;
2529 outputChannel . appendLine ( `Theme: ${ currentTheme === 'light' ? 'Light' : 'Dark' } mode` ) ;
You can’t perform that action at this time.
0 commit comments