Releases: redhat-developer/vscode-java
Releases Β· redhat-developer/vscode-java
1.29.0
- 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
asjava.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
- 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
- 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 ofsource.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
- 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
, andpermits
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
tomachine-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
- 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 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.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
oncompletionItem/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
- 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 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 -
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
atorg.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_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
intextDocument/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
- 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
&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 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.