Skip to content

Releases: redhat-developer/vscode-java

1.18.0

27 Apr 13:25

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

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.

1.16.0

16 Mar 18:20

Choose a tag to compare

  • performance - Allow language server to declare availability sooner by postponing autobuild. See JLS#2527.
  • performance - Save operations need not run in workspace runnable when project is not unmanaged. See JLS#2449.
  • enhancement - Implement method hierarchy through existing type hierarchy logic. See #2991.
  • enhancement - Declare support for inlay hints through the language server specification. See #2965, JLS#2365.
  • enhancement - Update types filter according to import declarations. See #2943.
  • enhancement - Update to vscode-languageclient 8.1.0, LSP4J 0.20.0 (LSP 3.17.0). See #2474, JLS#2348.
  • bug fix - Fix regression in extension startup for web-based editors. See #2968.
  • bug fix - No completion on generic anonymous class instance objects. See JLS#2505.
  • bug fix - Null Analysis does not work for Eclipse/Invisible projects. See #2956.
  • bug fix - Unnecessary error marker for record constructor that uses varargs. See #2640.
  • bug fix - Temporary fix to ensure refactoring document is displayed. See #2975.
  • bug fix - In progress items should always be at the bottom in the server tasks view. See #2627.
  • bug fix - Fix NPE in textDocument/documentHighlight requests. See #2952.
  • bug fix - Update VS Code engine to 1.74.0. See #2950.
  • build - Bump webpack from 5.34.0 to 5.76.0. See #2999.
  • other - Add API to track LSP performance at the language client. See #2996.

1.15.0

20 Feb 17:13

Choose a tag to compare

  • performance - Skip generated methods when calculating document symbols. See JLS#2446.
  • performance - Make the debounce adaptive for the publish diagnostic job. See JLS#2443.
  • performance - Only perform context sensitive import rewrite when resolving completion items. See JLS#2453.
  • performance - Extension activation should not depend on language server being started. See #2900.
  • performance - Copy/paste within the same file should not trigger the paste handler for missing imports. See JLS#2441.
  • enhancement - Support "extract interface" refactoring. See #761.
  • enhancement - Add "Convert String concatenation to Text Block" quick assist. See JLS#2456.
  • enhancement - Add clean up for using try-with-resource. See #2891.
  • enhancement - Enable formatting support in syntax server. See #2926.
  • enhancement - Add option to configure behaviour when mojo execution metadata not available. See #2889.
  • enhancement - Add option to permit usage of test resources of a Maven project as dependencies within the compile scope of other projects. See #2569.
  • bug fix - Change default generated method stub to throw exception. See JLS#2366.
  • bug fix - Prevent the paste handler for missing imports from generating overlapping text edits. See JLS#2442.
  • bug fix - Reference search doesn't work for fields in JDK classes. See JLS#2405.
  • bug fix - Paste event handling blocks pasting while project loading. See #2924.
  • bug fix - Avoid generating boilerplate code repeatedly in new Java file. See #2939.
  • bug fix - Completion results should include filtered (excluded) types if they are also present in the import declarations. See JLS#2467.
  • bug fix - Fix type hierarchy regression since VS Code 1.75.1. See #2930.
  • bug fix - Re-publish diagnostics for null analysis configuration change when auto-build is disabled. See JLS#2447.
  • bug fix - Dependency Analytics extension popup shoud respect user choice. See #2892.
  • bug fix - Only do full build for a configuration change when auto-build is enabled. See JLS#2437.
  • bug fix - The command to upgrade gradle should check for cancellation prior to updating metadata files. See JLS#2444.
  • bug fix - Fix incorrect ordering of completion items that use a decorator. See #2917.
  • bug fix - Reduce the amount of logging from org.apache.http bundles. See JLS#2420.
  • build - Do not require org.eclipse.xtend.lib. See JLS#2416.
  • build - Add Github action to detect potential duplicate issues. See #2927.
  • build - Use commit SHA-1 instead of branch name for third-party actions. See #2895.
  • documentation - Clarify the README quick start instructions. See #2915.

1.14.0

17 Jan 15:23

Choose a tag to compare

  • enhancement - Support for shared indexes among workspaces. See #2723.
  • enhancement - Support pasting content into a string literal. See #1249.
  • enhancement - Resolve missing imports (if any) when pasting code. See JLS#2320.
  • enhancement - Support matching case for code completion. See #2834.
  • enhancement - Add code action to insert missing required attributes for an annotation. See JLS#1860.
  • enhancement - Create cleanup actions for adding final modifier where possible, converting switch statement to switch expression, using pattern matching for instanceof checks, and converting anonymous functions to lambda expressions. See #2827.
  • enhancement - Support quickfix for gradle jpms projects. See JLS#2304.
  • enhancement - Add the Korean translation file. See #2802.
  • bug fix - Fix incorrect type hierarchy on multi module Maven projects. See #2871.
  • bug fix - Permit output folder to be the same as a source folder. See #2786.
  • bug fix - Organize imports removes static imports under some conditions. See #2861.
  • bug fix - Fix completion issue occuring when invocation spans multiple lines. See JLS#2387.
  • bug fix - Fix scope calculation for "Surround with try/catch" refactoring. See #2711.
  • bug fix - Fix NPE occuring when completion item is selected. See JLS#2376.
  • bug fix - Log user friendly error if client does not support _java.reloadBundles.command. See JLS#2370.
  • bug fix - Postfix completion should not be available when editing Javadoc. See JLS#2367.
  • bug fix - Update m2e to latest version in order to ensure classpath resources persist. See #2857.
  • build - Use instanceof pattern matching in code base. See JLS#2357.
  • build - React to vsce renaming to @vscode/vsce. See #2879.
  • build - Work around vsce refusal to publish extensions with proposed API. See #2854.
  • build - Deploy the universal vsix to support all platforms without an embedded JRE. See #2837.
  • build - Ensure npm public registry is used for the resolved field in package-lock.json. See #2874.
  • build - Bump qs from 6.5.2 to 6.5.3 and decode-uri-component from 0.2.0 to 0.2.2. See #2832, #2823.
  • build - Move utilities out of extension.ts. See #2824.
  • documentation - Fix Build Status badge. See #2847.

1.13.0

01 Dec 15:23

Choose a tag to compare

  • enhancement - Support "Add all missing imports". See #2753.
  • enhancement - Support Gradle annotation processing. See #1039.
  • enhancement - Add an option to configure null analysis, and set to interactive by default. See #2747, #2790.
  • enhancement - Add setting for clean ups to be applied when document is saved. See #2144, #2803, #2813.
  • enhancement - Add contribution points for completion customization. See JLS#2110.
  • enhancement - Allow the language server to be run without using IApplication. See JLS#2311.
  • enhancement - Improve Lombok support and renaming fields when an accessor is present. See #2805.
  • bug fix - Display the postfix completions at the bottom of the list. See JLS#2343.
  • bug fix - Display a link for {@link ...} expression within javadoc. See #2810.
  • bug fix - Do not reset existing project options when setting null analysis options. See #2764.
  • bug fix - Code action response may contain null as one of the code actions. See JLS#2327.
  • bug fix - Inlay hints should not show up next to Lombok annotations. See JLS#2323.
  • bug fix - Ensure language server always terminates. See JLS#2302.
  • bug fix - Prevent a deadlock during language server initialization. See #2763.
  • bug fix - Always send begin work done progress before sending end. See JLS#2258.
  • bug fix - Use existing Gradle project .settings/ location if available. See #2528.
  • bug fix - Avoid re-using the same job for the "Publish Diagnostics" job. See JLS#2356.
  • build - Use Predicate for filter. See JLS#2355.
  • build - Add pre-release and platform specific publishing for OpenVSX registry. See #2587.
  • build - Fix issues reported by npm-audit. See #2777.

1.12.0

27 Oct 15:18

Choose a tag to compare

  • performance - Improve project initialization. See JLS#2252.
  • performance - Re-use ExecutorService to avoid creating extra threads and resource leak. See JLS#2041.
  • performance - Avoid triggering full rebuild of project after import completes (on Windows). See #793.
  • enhancement - Add support for postfix completion. See #1455.
  • enhancement - Add quick fix for "remove all unused imports". See JLS#2280.
  • enhancement - Add quick fixes for problems relating to sealed classes. See JLS#2265.
  • bug fix - Signature help not working correctly for parameterized types. See #2739.
  • bug fix - Avoid NPE for null analysis when updating classpath. See #2712.
  • bug fix - Check the digest of the initializiation scripts for security and to prevent duplicates. See #2692.
  • bug fix - Support includeDeclaration in textDocument/references. See JLS#2148.
  • bug fix - Provide folding for import regions in .class files. See #2133.
  • bug fix - Deadlock when using JDK 17 with Maven Java project. See #2676.
  • bug fix - Ignore unnamed module for split packages. See JLS#2273.
  • bug fix - The project preference should only persist non default values. See JLS#2272.
  • bug fix - Synchronize contributed bundles on demand. See #2729.
  • bug fix - Avoid unnecessary project updates when the default VM changes. See JLS#2266.
  • bug fix - Exclude non-compile scope dependencies from consideration for enabling null analysis. See JLS#2264.
  • bug fix - Add opportunistic support for Java/Kotlin polyglot Android projects. See JLS#2261.

1.11.0

29 Sep 15:04

Choose a tag to compare

  • enhancement - Provide Java 19 preview support. See #2650.
  • enhancement - Enable annotation-based null analysis. See #1693.
  • enhancement - Show generate toString(), hashCode() and equals() quick fixes on demand. See JLS#2213.
  • enhancement - Enable method argument guessing (java.completion.guessMethodArguments) by default. See #2621.
  • enhancement - Enable signature help (java.signatureHelp.enabled) by default. See #2063.
  • enhancement - Support creating module-info.java. See #2680.
  • enhancement - Only add parentheses for lambda expression completions with multiple parameters. See JLS#2100.
  • enhancement - Add buildship auto sync preference when build configuration update is set to automatic. See JLS#2224.
  • bug fix - Show the field suggestions for the toString(), hashCode() and equals() generator dialogs in definition order. See #2502.
  • bug fix - Fix Gradle project synchorization errors when init script path contains spaces. See JLS#2245, JLS#2222, JLS#2249.
  • bug fix - Fix NPE in the protobuf init script. See #2700.
  • bug fix - Disable JVM logging by default (-Xlog:disable). See #2292.
  • bug fix - Fix type completion when type name conflicts. See JLS#2232.
  • bug fix - Fix gradle project classpath calculation. See #2628.
  • bug fix - Bad ".git" pattern in .project file's filteredResources element causes chaos. See #2704.
  • bug fix - Creating a new Java file won't generate package statement. See #2687.
  • bug fix - Improve documentation for static import order. See #711.
  • build - Migrate from tslint to eslint. See #2415.

1.10.0

31 Aug 17:49

Choose a tag to compare

  • enhancement - Automatically add Protobuf output source directories to classpath & generate tasks, if necessary. See #2629 & JLS#2195.
  • enhancement - Support "Sort Members" code action. See #2139.
  • enhancement - Add grammar for Java Properties files. See #2636.
  • enhancement - Always interpret the full workspace symbol query as a package name. See JLS#2174.
  • enhancement - Add support for Maven offline mode (java.import.maven.offline.enabled). See #2617.
  • enhancement - Add the zh-TW (Traditional Chinese) translation file. See #2573.
  • bug fix - Prevent "Header must provide a Content-Length property" failure by restricting JVM logging. See #2577.
  • bug fix - Infer the source root only when necessary. See JLS#2178.
  • bug fix - Fix inlay hints for record classes. See #2414.
  • bug fix - Fix formatting of the new snippets. See #2605.
  • bug fix - Make java.import.gradle.java.home property machine-overridable. See #2624.
  • bug fix - Set default severity of "Circular classpath" to "warning". See #718.
  • bug fix - Permit non-JDT errors to be reported in Java files. See JLS#2154.
  • bug fix - Avoid naming conflicts between Gradle project modules. See JLS#2190.
  • bug fix - Re-fetch the extension registry when delegate command lookup fails. See JLS#2184.
  • bug fix - Skip the "default project" when detecting Lombok. See #2633.
  • bug fix - Skip security check for java.home and java.jdt.ls.java.home in trusted workspace. See #2600.
  • bug fix - Keep consistent style in notifications (eg. use "Reload") and use plural form for Reload Projects command title. See #2585 & #2612.
  • dependencies - Update to jdk-utils@0.4.4. See #2601.
  • debt - Remove stale Travis CI information from README. See #2592.

1.9.0

21 Jul 18:01

Choose a tag to compare

  • enhancement - Package lombok into extension for use when lombok support enabled, and not on project classpath. See #2550.
  • enhancement - Add support for qualified workspace symbols. See #2538.
  • enhancement - Refresh the unmanaged project's classpath on demand. See #1282.
  • enhancement - Provide reload project diagnostics on demand. See #2575.
  • bug fix - Missing completions for fully qualified constructor names. See JLS#2147.
  • bug fix - Completion replacement for a type proposal is incorrect in some cases. See #2534.
  • bug fix - Project configuration is not updated after modifying build file. See #2566.
  • bug fix - Fixed language server crashing because of wrong lombok jar. See #2542.
  • bug fix - Do not warn about missing JDT-LS stdout/stderr log files. See #2535.
  • bug fix - Scan two levels of directories for activation indicators. See #2280.
  • bug fix - Correct typo in gradle checksum mismatch error message. See JLS#2161.
  • build - wrong JRE embedded in pre-release package. See #2559.
  • build - TypeError: s.logFailedRequest is not a function. See #2480.
  • build - Compile error in MavenBuildSupport.update(IProject, boolean, IProgressMonitor). See JLS#2150.
  • build - Migrate to @vscode/test-electron. See #2555.
  • build - Update moment & terser packages. See #2580.