diff --git a/CHANGELOG.md b/CHANGELOG.md index c917e12..dd59b9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +### 0.10.7 + +- Urdu localisation +- Enhanced debug logging of printing files from remote filesystems +- Fix typo in internal identifier for Atelier Sulphur +Pool colour scheme + ### 0.10.4 - Fixed an issue preventing the selected colour scheme from being applied diff --git a/package.json b/package.json index bada342..fe4e1cf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-print", "displayName": "Print", "description": "Rendered Markdown, coloured code.", - "version": "0.10.6", + "version": "0.10.7", "icon": "assets/vscode-print-128.png", "author": { "name": "Peter Wone", diff --git a/src/extension.ts b/src/extension.ts index 674c2ba..ae8d3f4 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -125,16 +125,16 @@ function openDoc(doc: string) { const checkConfigurationChange = (e: vscode.ConfigurationChangeEvent) => { if (e.affectsConfiguration('print.editorContextMenuItemPosition')) { - vscode.commands.executeCommand( - "setContext", "ecmPrint", - vscode.workspace.getConfiguration("print", null) - .get('editorContextMenuItemPosition')); + const ecmip = vscode.workspace.getConfiguration("print") + .editorContextMenuItemPosition as string; + logger.info(`editorContextMenuItemPosition set to ${ecmip}`) + vscode.commands.executeCommand("setContext", "ecmPrint", ecmip); } else if (e.affectsConfiguration('print.editorTitleMenuButton')) { - vscode.commands.executeCommand( - "setContext", "etmButton", - vscode.workspace.getConfiguration("print", null) - .get('editorTitleMenuButton')); + const etmb = vscode.workspace.getConfiguration("print", null) + .get('editorTitleMenuButton'); + logger.info(`editorTitleMenuButton set to ${etmb}`); + vscode.commands.executeCommand("setContext", "etmButton", etmb); } };