diff --git a/CHANGELOG.md b/CHANGELOG.md index 76302857..136ded21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the "vscode-java-debugger" extension will be documented i The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.40.1- 2022-04-15 +### Fixed +- Update command id to 'java.project.addToSourcePath.command'. [#1152](https://github.com/microsoft/vscode-java-debug/issues/1152). + ## 0.40.0 - 2022-03-28 ### Fixed - Fix extension version. [#1146](https://github.com/microsoft/vscode-java-debug/pull/1146). diff --git a/package-lock.json b/package-lock.json index abcf6cc6..1f49d3c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-java-debug", - "version": "0.40.0", + "version": "0.40.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-java-debug", - "version": "0.38.0", + "version": "0.40.1", "hasInstallScript": true, "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { diff --git a/package.json b/package.json index c9412c1c..146e505b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-java-debug", "displayName": "Debugger for Java", "description": "A lightweight Java debugger for Visual Studio Code", - "version": "0.40.0", + "version": "0.40.1", "publisher": "vscjava", "preview": true, "aiKey": "67d4461e-ccba-418e-8082-1bd0acfe8516", diff --git a/src/debugCodeLensProvider.ts b/src/debugCodeLensProvider.ts index 09c71ec4..956e8f5d 100644 --- a/src/debugCodeLensProvider.ts +++ b/src/debugCodeLensProvider.ts @@ -219,7 +219,7 @@ async function addToClasspath(uri: vscode.Uri): Promise { if (ans === "Skip") { return true; } else if (ans === "Add to Source Path") { - vscode.commands.executeCommand("java.project.addToSourcePath", parentUri); + vscode.commands.executeCommand("java.project.addToSourcePath.command", parentUri); } return false;