RFR: 8285150: Improve tab completion for annotations [v4]
Chen Liang
liach at openjdk.org
Tue Sep 9 03:03:11 UTC 2025
On Mon, 8 Sep 2025 05:51:25 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> 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
test/langtools/jdk/jshell/ToolTabSnippetTest.java line 348:
> 346: }
> 347:
> 348: public void testAnnotation() throws Exception {
We are now junit, needs `@Test`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22840#discussion_r2331877308
More information about the kulla-dev
mailing list