π Release Notes β v1.2.0
π New Features
π§ͺ Comprehensive Test Execution & Debugging (Run & Debug Tests)
- Context Menu Actions: Added Run Tests, Debug Tests, and Run Tests with Coverage options for test classes, Java files, and directories (including workspace root).
- Smart Directory Test Runner: Automatically detects project build tools (
Maven pom.xml/./mvnworGradle build.gradle/./gradlew), resolves the target Java package structure, and executes tests in a dedicated Java Tests terminal.
β Run & Debug Java Files
- Added Run Java and Debug Java options directly in the context menu for
.javaclasses and files.
π Markdown Preview Default Behavior
- Clicking
.mdfiles in the explorer tree now opens them directly in Markdown Preview mode instead of text editing mode.
π Native Explorer Utilities (Explorer Goodies)
Added essential VS Code explorer actions:
- Open to the Side β Opens file in a split editor.
- Open With... β Interactive editor selector dialog (
Reopen Editor With...). - Find in Folder... β Triggers quick search within the selected directory.
- Select for Compare & Compare with Selected β File diff comparison.
βοΈ Enhanced Context Menu Layout
- Restructured context menu layout to match native VS Code Explorer UI standards.
- Flattened Copy Path and Copy Relative Path into the primary context menu.
- Logical dividers and group prioritization (
1_new,2_run,2_test,3_open,4_search,5_clipboard,6_copypath,7_compare,8_git,9_system,10_modification).
π Diagnostic Output Channel (Java Explorer Output)
- Integrated a dedicated Java Explorer Output channel in the VS Code Output panel (
Ctrl+Shift+U) providing step-by-step logs and extension diagnostic details.
π Bug Fixes & Improvements
- Plain File Creation Fix: Creating regular non-Java files now produces clean, empty files without generating Java class boilerplate.
- Resolved
vscode.openWithException: FixedInvalid argument 'viewId' when running 'vscode.openWith', received: undefinederror by routing throughworkbench.action.reopenWithEditor. - Lazy Extension Auto-Activation: Automatically activates underlying Java extensions (
redhat.javaandvscjava.vscode-java-test) if they are in an inactive/lazy-loaded state. - External Libraries Protection: File mutation commands (Delete, Rename, Cut/Copy) are safely guarded against execution on virtual External Libraries / JAR items.