Skip to content

Releases: redhat-developer/vscode-java

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.

1.22.0

12 Sep 14:15
Compare
Choose a tag to compare
  • performance - Stale code actions should be cancellable and paste actions should have higher priority. See #3199.
  • enhancement - Add support for smart semicolon insertion. See #703.
  • enhancement - Introduce new snippet templates with appropriate context. See #2867.
  • enhancement - Improve JDK detection on the local machine, and ensure they are registered. See #3251.
  • enhancement - Add folding range for multiple single-line comments. See #860.
  • enhancement - Use a more appropriate completion item image for annotation attributes and records. See JLS#2796.
  • enhancement - Select suitable JDK to launch Gradle. See JLS#2812.
  • enhancement - end-to-end performance tracking for code completion requests. See #3165.
  • enhancement - Track the case of language server OutOfMemory. See #3273.
  • enhancement - Record the trigger context of completion request. See #3272.
  • bug fix - Call hierarchy should always report the end of its progress. See JLS#2827.
  • bug fix - Fix multiline semantic highlighting for class, interface & record declarations. See #1444, JLS#2807.
  • bug fix - The type declaration snippets should generate file headers. See JLS#2813.
  • bug fix - Fix folding ranges for nested switch statements. See #2751.
  • bug fix - Fix "java.lang.VerifyError: Operand stack overflow". See #3232.
  • bug fix - Commands needing language server should not be activated before the service is ready . See #3281.
  • bug fix - Record methods are not recognized under certain conditions. See #3233.
  • bug fix - Fix compiler arguments parsing failure in Gradle build support. See JLS#2781.
  • bug fix - Filter out excessive logging of classfile parsing from m2e in "debug mode". See JLS#2785.
  • bug fix - Don't escape unicode characters when pasting string literals. See #3181.
  • bug fix - Enable by default syntactic null analysis for fields. See #3255.
  • bug fix - Rename SERVER_PORT environment variable to JDTLS_SERVER_PORT. See #3256, #2507.
  • dependencies - Update semver to latest version where possible. See #3264.
  • dependencies - Update vscode-redhat-telemetry to 0.7.0. See #3262.

1.21.0

27 Jul 13:36
Compare
Choose a tag to compare
  • performance - Check completion proposal is compatible or not. See JLS#2733.
  • enhancement - Add code actions for Join/Split variable. See JLS#2732.
  • enhancement - Support outline view for decompiled source. See JLS#2742.
  • enhancement - Reload the cached classfile sources when their source attachment is updated. See #3207.
  • enhancement - Log error when Gradle and JDK versions are mismatched. See JLS#2749.
  • bug fix - Fix parameter and exception changes in method signature refactoring. See #3098.
  • bug fix - Fix missing completion items for fully qualified name completion. See #3173.
  • bug fix - Support Java text block highlight. See #2896.
  • bug fix - Fix incorrect syntax highlight for comment following a throws clause. See #3039.
  • bug fix - Fix incorrect syntax highlight for new keyword on inner class creation. See #1195.
  • bug fix - Fix incorrect semantic highlighting due to out-of-date AST in use. See JLS#2709.
  • bug fix - Prevent caching outdated AST in CoreASTProvider. See JLS#2714.
  • bug fix - Call Hierarchy resolves wrong element under certain conditions. See JLS#2771.
  • bug fix - NullPointerException during code completion of a var reference. See #2758.
  • bug fix - Do not delete the Java project nature removing a nested .classpath resource file. See JLS#2750.
  • bug fix - Unable to acquire the state change lock for the module 'buildship'. See #3184.
  • bug fix - Rename 'Attach Source' menu to 'Attach Source…'. See #3202.
  • dependencies - Bump word-wrap from 1.2.3 to 1.2.4. See #3211.

1.20.0

29 Jun 13:34
Compare
Choose a tag to compare
  • performance - Set the default value of java.completion.matchCase to firstLetter. See #3142.
  • enhancement - Support for "Go to Declaration". See JLS#2684.
  • enhancement - Improve method argument guessing functionality. See #2903.
  • enhancement - Add code action to clean up & simplify lambda expressions. See #3158.
  • enhancement - Use FernFlower as the default decompiler. See JLS#2704.
  • enhancement - Attempt automatic JVM detection on startup. See JLS#2731.
  • enhancement - Support for chain completions. See #3008.
  • enhancement - Make reasonable guess for method name when applying "Extract Method" refactoring. See #2011.
  • enhancement - Add postfix completion for sysouf, sysoutv, format, par, not,assert & optional . See JLS#2691, JLS#2697.
  • enhancement - Use choice syntax as placeholder for constructor/method/field snippets. See #3018, #3140.
  • enhancement - The try-catch snippet should support being applied to a selection. See #3103.
  • enhancement - Track errors, exceptions, and project import success rate on server side for reliability analysis. See #3162, JLS#2726.
  • bug fix - Display package name in document symbols outline for class files. See #3074.
  • bug fix - Signature help should display the selected completion item. See #3127.
  • bug fix - Gracefully handle language server failures/crashes. See #2036, #3131.
  • bug fix - No completions on field initializer with @Default and @Builder Lombok annotations. See JLS#2669.
  • bug fix - IllegalArgumentException within a try-catch block. See #3138.
  • bug fix - Fix pId mismatch in completions. See JLS#2681.
  • bug fix - Typo in constant METADATA_FILES_GENERATION. See #3133.
  • build - Add enviornment variable to reference an external build of JDT-LS. See #3151.
  • build - Check for non-standard NPM registry in package-lock.json as a step in CI. See #2876.
  • build - Bump semver from 7.3.5 to 7.5.2. See #3168.

1.19.0

01 Jun 15:33
Compare
Choose a tag to compare
  • performance - No need to run the reconcile operation in a workspace job. See JLS#2660.
  • performance - Avoid blocking the pipeline while handling refreshLocal during document lifecycle events. See JLS#2659.
  • performance - Avoid running document lifecycle in a workspace runnable unless it is necessary. See JLS#2641, JLS#2637.
  • performance - Re-validate current document if the focus is switched to a Java file. See #3053.
  • performance - Only append data on completion item selected. See JLS#2639.
  • performance - Remove some unnecessary completion item data fields. See JLS#2638.
  • performance - Remove COMPLETION_EXECUTION_TIME from the completion item response. See JLS#2621.
  • performance - Use separate thread to handle didChangeWatchedFiles events. See JLS#2643.
  • performance - Add option to lazily resolve the text edits. See JLS#1864.
  • enhancement - Add command to restart Java language server. See #2586.
  • enhancement - Add support for proper array completions. See JLS#2609.
  • enhancement - Completion items should support InsertTextMode. See JLS#2577.
  • enhancement - Use vscode-extension-proposals for recommendations. See #3099.
  • bug fix - Missing javadoc for field during completion. See JLS#2645.
  • bug fix - Incorrect completion text edit ranges for snippets. See JLS#2626.
  • bug fix - Update completion resolve data for javadoc completions. See JLS#2636.
  • bug fix - Prevent sending shutdown job progress report. See JLS#2622.
  • bug fix - On Windows, os.execvp does not load the executable into current process. See JLS#2615.
  • bug fix - Code completion for constructor is broken with java.completion.matchCase enabled. See #3118.
  • build - Gracefully recover from failure to detect the language server project in sibling directory. See #3107.
  • dependencies - Update to lombok 1.18.28. See #3117.

1.18.0

27 Apr 13:25
Compare
Choose a tag to compare
  • performance - Completion handling should not be done in asynchronous thread pool. See JLS#2605.
  • performance - Support lazily resolving postfix completion items. See #3072, JLS#2616, JLS#2584.
  • performance - Place the URI of a document into the completion response store. See #2614.
  • enhancement - Provide Java 20 support. See #3023.
  • enhancement - Add syserr postfix completion. See JLS#2620.
  • bug fix - Ensure meaningful information is displayed by the progress reporter. See #3082.
  • bug fix - Respect settings in the lombok.config file. See #2887.
  • bug fix - NullPointerException in signatureHelp/codeAction/inlayHint when AST is not generated. See JLS#2608.
  • bug fix - StringIndexOutOfBoundsException on textDocument/signatureHelp when triggered from end of document. See JLS#2606.
  • bug fix - Some logged information should only be shown in debug mode. See JLS#2603.

1.17.0

13 Apr 15:42
Compare
Choose a tag to compare
  • performance - Support resolving dependencies in parallel for Maven projects. See #3030.
  • performance - Cache and re-use type bindings for a completion invocation. See JLS#2535.
  • performance - Avoid retrieving AST root during diagnostic publishing. See JLS#2574.
  • performance - Implement itemDefaults for completion responses. See JLS#2475.
  • enhancement - Add support for decompiling class files. See #2679, #3012.
  • enhancement - Add "Change signature" refactoring. See #2104.
  • enhancement - Implement labelDetails for completion items. See JLS#2476.
  • enhancement - sysout postfix completion should be applicable to any variable. See JLS#2559.
  • enhancement - Add support for telemetry notifications. See #2289, #3042, #3058.
  • enhancement - Trace API should give indicator of response success status. See #3010.
  • bug fix - Single double quote should be matched appropriately. See #3037.
  • bug fix - Increase relevance of "Create enum". See #2940.
  • bug fix - Recover when documentPaste API is not properly registered. See #3028.
  • bug fix - Ensure we do not return duplicate search results for workspace symbols. See JLS#2547.
  • bug fix - Code action to generate accessor outside of identifier no longer available. See JLS#2533.
  • bug fix - Support importing multi-Maven projects with the same artifactId. See JLS#2017.
  • bug fix - Do not show Generate Constructors quick assist for static fields. See JLS#2142.
  • bug fix - Delegate commands should respect cancellation events from the client. See JLS#2415.
  • bug fix - Ensure java.project.upgradeGradle client/server commands do not clash. See #3001.
  • bug fix - Fix "commands test" when run locally. See #3027.
  • build - Exclude .github/ and .gitignore from packaging. See #3057.
  • build - Add separate tsconfig for webview. See #3009.
  • debt - Support the refactoring document correctly. See #2974.