Skip to content

Commit

Permalink
Update command id to java.project.addToSourcePath.command (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
testforstephen authored Apr 14, 2022
1 parent e74ac96 commit 48462a5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/debugCodeLensProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async function addToClasspath(uri: vscode.Uri): Promise<boolean> {
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;
Expand Down

0 comments on commit 48462a5

Please sign in to comment.