Skip to content

Releases: redhat-developer/vscode-java

1.30.0

25 Apr 04:43
Compare
Choose a tag to compare
  • enhancement - Add final to new declarations generated from code actions. See #3586.
  • bug fix - Change default client/server transport from stdio to pipe. See #3587.
  • bug fix - Qualifier of workspace symbol search should be wildcard search. See JLS#3134.
  • bug fix - Fix the document paste handling provider for VS Code 1.88.0. See #3568.
  • bug fix - Clear active build tool selection after cleaning the language server workspace of mixed Maven/Gradle project. See #3567.
  • bug fix - Static imports with wildcard should resolve all elements. See #3564.
  • bug fix - Language Server fails to start with multiple --add-exports in java.jdt.ls.vmargs. See #3577.
  • bug fix - Make java.import.gradle.user.home scope machine-overridable. See #3569.
  • bug fix - Disable automatic handling of workspace/willRenameFiles. See #3565.
  • build - Fix tests in release workflow. See #3562.

1.29.0

03 Apr 04:29
Compare
Choose a tag to compare
  • enhancement - Provide support for Java 22. See #3538.
  • enhancement - Simplify the server status item click action & add contribution point. See #3537, #3548, #3546.
  • enhancement - Add setting to group completion items representing overloaded methods together. See #3492.
  • enhancement - Renaming primary type declaration should update source file name on save. See #3408.
  • enhancement - Support updating whole classpath of the project in delegate commands. See JLS#3098.
  • enhancement - Open output channel as well when opening logs. See #3531.
  • enhancement - Read the server logs in order to discover early startup log messages. See JLS#3106.
  • enhancement - Report errors of type dtree.ObjectNotFoundException as java.ls.error. See #3509.
  • bug fix - Signature help should display all overloaded methods. See JLS#3052.
  • bug fix - Fix issues with Unnamed classes (Java 21) (reference computation, code actions, compilation). See JLS#3069, JLS#3089, JLS#3090.
  • bug fix - Record Patterns may cause VerifyError. See #3479.
  • bug fix - Support list of patterns in case statements (Java 21). See JLS#3043.
  • bug fix - Allow methods, inherited fields, inherited methods for Generate toString() code action. See #2639.
  • bug fix - Update Buildship to 3.1.10, which fixes "Marker property value is too long". See JLS#2424.
  • bug fix - Set the nullUncheckedConversion setting to be ignored by default. See #3501.
  • bug fix - Fix NPE when fetching the classpath of the project. See JLS#3115.
  • dependencies - Bump follow-redirects from 1.15.4 to 1.15.6. See #3534.
  • build - Adopt the Lombok 1.18.32 release. See #3543.
  • build - Update various GitHub reusable workflows to v4. See #3519.
  • build - Update release version regular expression for bump-jdk workflow. See #3552.

1.28.1

15 Feb 15:34
Compare
Choose a tag to compare
  • enhancement - Unnamed classes & instance main methods (Java 21) preview support. See JLS#3042.
  • enhancement - Add support for activating cleanup actions through keyboard shortcut. See #3424.
  • enhancement - Jump to specific position of .class when clicking on Javadoc link. See #3490.
  • bug fix - Fix startup failure on macOS (x64) 10.15 or older. See #3484.
  • bug fix - Support Gradle 8.5 with Java 21. See #3470.

1.27.0

01 Feb 03:50
Compare
Choose a tag to compare
  • enhancement - Make the server status bar item more user friendly. See #3473.
  • enhancement - Support syntax highlight for embedded HTML. See #3465.
  • enhancement - Add Unnamed patterns and variables (Java 21) preview support. See JLS#2963.
  • enhancement - Add quick fixes for for suppressing warnings using @SuppressWarnings. See JLS#2698.
  • enhancement - Add quick fixes for uninitialized final fields. See JLS#1328.
  • enhancement - Add support for externally provided lifecycle-mapping-metadata.xml file. See #3393.
  • bug fix - Allow generic snippets to be returned when completion token is null. See #3466.
  • bug fix - Allow to import the newly created maven submodule within a multi-module project. See #3464.
  • bug fix - Use source.gradle-kotlin-dsl instead of source.kotlin to avoid clashes with other Kotlin grammars. See #3463.
  • bug fix - Log the error details when initialization fails. See #3472.
  • bug fix - Avoid string concatenation with Runtime.getRuntime().exec(..). See JLS#3022.
  • dependencies - Adopt the Lombok 1.18.31 edge release. See #3461.
  • build - Automatically suggest updates based on JDT-LS Java language support. See #3402.

1.26.0

11 Jan 04:45
Compare
Choose a tag to compare
  • performance - Reduce delegate command calls when classpath changes. See #3439.
  • performance - Ensure initial import of projects respect resource filter settings. See #2972.
  • performance - Improve the performance of "Organize Imports" when "favorite static imports" are involved. See #3383.
  • enhancement - Add String Templates (Java 21) preview support. See JLS#2994.
  • enhancement - Support syntax highlight for embedded SQL, JSON, XML & YAML languages. See #831, #3455.
  • enhancement - Generate correct sources when pasting Java code into the file explorer view. See #3323.
  • enhancement - Quick assists converting string concatenations to StringBuilder, StringBuffer, String.format(..), MessageFormat. See JLS#3007.
  • enhancement - Quick assists inverting equals comparison & handling of lambda expressions. See JLS#2996.
  • enhancement - Support "non-null" assertions by default using null analysis. See #3431.
  • enhancement - Make the language server status a normal status bar item for better visibility. See #3416.
  • bug fix - Fix multiline semantic highlighting for implements, extends, and permits keywords. See JLS#2995.
  • bug fix - Use wrapper distribution when gradle-wrapper.properties exists. See JLS#3012.
  • bug fix - Fix false positive parameter mismatch error. See JLS#2992.
  • bug fix - Document pasting should defer to other contributors when there are no changes. See #3444.
  • bug fix - Use Lombok 1.18.31 snapshot to avoid errors for annotations with parameters. See #3454.
  • bug fix - Remember the choice when asking project selection on import. See #3415.
  • bug fix - Guard against null completion context and insertion text. See #3422.
  • bug fix - The assignment to variable workingCopy has no effect. See JLS#3002.
  • bug fix - Change scope of java.import.gradle.home to machine-overridable. See #3430.
  • bug fix - Filter excessive logging of artifact download from m2e in "debug mode". See JLS#3011.
  • dependencies - Bump follow-redirects from 1.15.2 to 1.15.4. See #3457.
  • debt - Remove the legacy status bar item implementation. See #3081.

1.25.1

07 Dec 03:00
Compare
Choose a tag to compare
  • performance - Avoid unnecessary (Maven) project updates. See #3411.
  • bug fix - Out of sync editor content may report false compilation errors. See JLS#2955.
  • bug fix - Improved support for textmate definition for Kotlin DSL. See #3403.
  • bug fix - No completion suggestions for package references when matchCase is set to firstLetter. See JLS#2925.
  • bug fix - Closing Text Blocks immediately after an escaped character produces incorrect syntax highlight. See #3384.
  • bug fix - Fix the typo: blob -> glob. See #3413.

1.25.0

30 Nov 15:00
Compare
Choose a tag to compare
  • enhancement - Provide support for Java 21. See #3292.
  • enhancement - Import projects by configurations. See #3356.
  • enhancement - Support add/remove of imported projects. See #3398.
  • enhancement - Host textmate definition for kotlin language. See #3334.
  • enhancement - Categorize the extension settings. See #2548.
  • enhancement - Add maven.multiModuleProjectDirectory property. See #3380.
  • enhancement - Add capability to list all VM installs and update project JDK. See JLS#2977.
  • bug fix - Update to vscode-languageclient 8.2.0-next.3 (using Node 18) to fix IPC path length limitations. See #3371.
  • bug fix - Avoid refreshing language server when contributing extension's dependency closure includes it. See #3349.
  • bug fix - Wrongly encoded semantic tokens around class keyword. See JLS#2920.
  • bug fix - Cleanups & Organize Imports should only react to internal project preferences with canUseInternalSettings. See #3399, #3370, JLS#2975.
  • bug fix - Fix missing prompt to select build tool for Gradle/Maven mixed project. See #3400.
  • bug fix - Respect the VS Code setting to disable extension recommendations. See #3381.
  • bug fix - IllegalArgumentException on completionItem/resolve of package declaration. See JLS#2924.
  • bug fix - Add trace to understand the probability of document out-of-sync. See JLS#2954.
  • dependencies - Bump axios from 1.5.0 to 1.6.1. See #3388.
  • dependencies - Update buildship to 3.1.8. See JLS#2974.

1.24.0

26 Oct 14:05
Compare
Choose a tag to compare
  • performance - Exclude certain folders (eg. node_modules/) from "trigger" file search on activation. #3348.
  • enhancement - Move snippet suggestions above matching keywords in completion list. See #2584.
  • enhancement - Add new alias public static void main(String[] args) for public main method. See #2105.
  • enhancement - Add aliases for sysout/syserr snippets that will see more usage. See #3041.
  • enhancement - Add "Surround with try/catch" code action. See JLS#2727.
  • enhancement - Automatically add the existing static imports in code as favorite static members. See JLS#2903.
  • enhancement - Provide quick fix to "Configure static import...". See #3339.
  • enhancement - Support named pipes for client/server communication. See #3282.
  • enhancement - Track the LSP request data from syntax server. See #3278.
  • bug fix - Re-implement smart semicolon detection through text document change API. See #3290.
  • bug fix - Completion returns no results for method declarations when matchCase set to FIRSTLETTER. See #3214, #3186.
  • bug fix - Allow filtering methods by parameter names, and order by number of parameters. See JLS#2907, #3206.
  • bug fix - Reconcile AST node to provide accurate type definition snippets. See #2250.
  • bug fix - BasicFileDetector should handle inaccessible directories gracefully during project import. See #1156, #3137.
  • bug fix - Ensure line delimiter exists after the file header template. See JLS#2906.
  • bug fix - o.e.core.internal.resources.ResourceException: Invalid project description. See JLS#2845.
  • bug fix - Error when parsing resource filter. See #3345.
  • bug fix - NPE in SemanticTokensHandler. See JLS#2876.
  • bug fix - NPE in cleanup action handler. See JLS#2879.
  • bug fix - UnsupportedOperationException at org.eclipse.lsp4j.services.LanguageServer.setTrace(). See JLS#2891.
  • dependencies - Bump postcss from 8.4.21 to 8.4.31. See #3335.

1.23.0

28 Sep 13:10
Compare
Choose a tag to compare
  • enhancement - Improve JDK detection on the local machine, and ensure they are registered. See #3301.
  • enhancement - Update current method snippet and add static_method snippet for interface. See #1697.
  • enhancement - Improve the constructor snippet for additional classes in a file. See #725.
  • enhancement - Store the completion kinds requested by completion operation. See JLS#2857.
  • enhancement - Update to Lombok 1.18.30. See #3321.
  • enhancement - Add API onWillRequestStart to track request send event. See #3316.
  • enhancement - Report whether the project has Kotlin Gradle files. See JLS#2859.
  • enhancement - Track the completion kinds of completion request. See #3307.
  • bug fix - Fix EmptyStackException in textDocument/foldingRange. See JLS#2865.
  • bug fix - Fix renaming of attribute with @Singular annotation. See #3203.
  • bug fix - Open Java Language Server Log File should open the correct server (standard/syntax) log. See #3309.
  • bug fix - Fix URI with query parameter. See #3305.
  • bug fix - Fix an error thrown during "Initialize workspace". See JLS#2842.

1.22.1

14 Sep 11:32
ad22816
Compare
Choose a tag to compare
  • bug fix - Removed some improvements to JDK detection as they were causing issues on MacOS. See #3287. If you still see JDK class errors after upgrading to 1.22.1, please open Command Palette and run "Java: Clean Java Language Server Workspace".
  • bug fix - Log errors from project importer. See JLS#2843.
  • bug fix - Disable ; key binding when smart semicolon detection is disabled. See #3290.