Releases: redhat-developer/vscode-java
Releases Β· redhat-developer/vscode-java
1.25.1
- 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
matchCaseis set tofirstLetter. 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
- 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.multiModuleProjectDirectoryproperty. See #3380. - enhancement - Add capability to list all VM installs and update project JDK. See JLS#2977.
- bug fix - Update to
vscode-languageclient8.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
classkeyword. 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 -
IllegalArgumentExceptiononcompletionItem/resolveof 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
- 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/syserrsnippets 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
matchCaseset toFIRSTLETTER. 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 -
BasicFileDetectorshould 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 -
UnsupportedOperationExceptionatorg.eclipse.lsp4j.services.LanguageServer.setTrace(). See JLS#2891. - dependencies - Bump postcss from 8.4.21 to 8.4.31. See #3335.
1.23.0
- enhancement - Improve JDK detection on the local machine, and ensure they are registered. See #3301.
- enhancement - Update current method snippet and add
static_methodsnippet 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
onWillRequestStartto 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
EmptyStackExceptionintextDocument/foldingRange. See JLS#2865. - bug fix - Fix renaming of attribute with
@Singularannotation. See #3203. - bug fix -
Open Java Language Server Log Fileshould open the correct server (standard/syntax) log. See #3309. - bug fix - Fix
URIwith query parameter. See #3305. - bug fix - Fix an error thrown during "Initialize workspace". See JLS#2842.
1.22.1
- 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
- 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&recorddeclarations. 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_PORTenvironment variable toJDTLS_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
- 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
throwsclause. See #3039. - bug fix - Fix incorrect syntax highlight for
newkeyword 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 -
NullPointerExceptionduring code completion of avarreference. See #2758. - bug fix - Do not delete the Java project nature removing a nested
.classpathresource 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
- performance - Set the default value of
java.completion.matchCasetofirstLetter. 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-catchsnippet 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
@Defaultand@BuilderLombok annotations. See JLS#2669. - bug fix -
IllegalArgumentExceptionwithin a try-catch block. See #3138. - bug fix - Fix
pIdmismatch 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.jsonas a step in CI. See #2876. - build - Bump
semverfrom 7.3.5 to 7.5.2. See #3168.
1.19.0
- performance - No need to run the reconcile operation in a workspace job. See JLS#2660.
- performance - Avoid blocking the pipeline while handling
refreshLocalduring 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_TIMEfrom the completion item response. See JLS#2621. - performance - Use separate thread to handle
didChangeWatchedFilesevents. 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-proposalsfor 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.execvpdoes not load the executable into current process. See JLS#2615. - bug fix - Code completion for constructor is broken with
java.completion.matchCaseenabled. 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
- 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
syserrpostfix completion. See JLS#2620. - bug fix - Ensure meaningful information is displayed by the progress reporter. See #3082.
- bug fix - Respect settings in the
lombok.configfile. See #2887. - bug fix -
NullPointerExceptioninsignatureHelp/codeAction/inlayHintwhen AST is not generated. See JLS#2608. - bug fix -
StringIndexOutOfBoundsExceptionontextDocument/signatureHelpwhen triggered from end of document. See JLS#2606. - bug fix - Some logged information should only be shown in debug mode. See JLS#2603.