JShell extension for VSCode
Features
- Adds "JShell" terminal profile (
CTRL + ALT + J or ⌘ + ⌥ + J when editing Java files)
- Automatically sets the classpath to the contents of the
.vscode/class-path.jsh file (new-line separated entries)
- Automatically loads the
.vscode/init.jsh file, if found in the current workspace
- JShell configuration in VSCode settings
- Gradle for Java extension integration to
assemble and open a new JShell instance

Install
- Marketplace
- Manually (from GitHub Actions)
- Download and extract the
vsix file from the GitHub actions artifacts
- Execute
code --install-extension path/to/vscode-jshell-$VERSION.vsix
- Open a new VSCode instance
Other
| |