RFR: 8285150: Improve tab completion for annotations [v4]

Jan Lahoda jlahoda at openjdk.org
Mon Sep 8 05:51:25 UTC 2025


> When using types code like:
> 
> @Deprecated(
> 
> 
> and presses `<tab>`, there should be a sensible completion, but currently there is nothing. This PR proposes to add code completion for annotation attributes.

Jan Lahoda has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits:

 - Adding Test annotation
 - Merge branch 'master' into JDK-8285150
 - Merge branch 'master' into JDK-8285150
 - Fixing completion prefix behavior
 - Merge branch 'master' into JDK-8285150-dev2
 - Improving the handling of annotation attributes that are annotations and enum constants.
 - Merge branch 'master' into JDK-8285150
 - Merge branch 'master' into JDK-8285150
 - 8285150: Improve tab completion for annotations

-------------

Changes: https://git.openjdk.org/jdk/pull/22840/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22840&range=03
  Stats: 322 lines in 4 files changed: 301 ins; 0 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/22840.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22840/head:pull/22840

PR: https://git.openjdk.org/jdk/pull/22840


More information about the compiler-dev mailing list