Skip to content

Commit 48462a5

Browse files
Update command id to java.project.addToSourcePath.command (#1153)
1 parent e74ac96 commit 48462a5

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to the "vscode-java-debugger" extension will be documented i
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.40.1- 2022-04-15
8+
### Fixed
9+
- Update command id to 'java.project.addToSourcePath.command'. [#1152](https://github.com/microsoft/vscode-java-debug/issues/1152).
10+
711
## 0.40.0 - 2022-03-28
812
### Fixed
913
- Fix extension version. [#1146](https://github.com/microsoft/vscode-java-debug/pull/1146).

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-java-debug",
33
"displayName": "Debugger for Java",
44
"description": "A lightweight Java debugger for Visual Studio Code",
5-
"version": "0.40.0",
5+
"version": "0.40.1",
66
"publisher": "vscjava",
77
"preview": true,
88
"aiKey": "67d4461e-ccba-418e-8082-1bd0acfe8516",

src/debugCodeLensProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ async function addToClasspath(uri: vscode.Uri): Promise<boolean> {
219219
if (ans === "Skip") {
220220
return true;
221221
} else if (ans === "Add to Source Path") {
222-
vscode.commands.executeCommand("java.project.addToSourcePath", parentUri);
222+
vscode.commands.executeCommand("java.project.addToSourcePath.command", parentUri);
223223
}
224224

225225
return false;

0 commit comments

Comments
 (0)