Skip to content

No autocomplete within annotations #3242

@mojo2012

Description

@mojo2012

The autocomplete does not delivery proper results for annotation properties, eg.

@OneToOne(fetch = FetchType.LAZY,  <here it sould offer some properties, like target or optional>  cascade = { CascadeType.DETACH, CascadeType.REFRESH })
private Offer sourceOffer;

Instead it just shows an an empty list:

Bildschirmfoto 2023-08-11 um 11 26 41

Environment
  • Operating System: macOS 13.5
  • JDK version: OpenJDK Runtime Environment Temurin-20.0.2+9 (build 20.0.2+9)
  • Visual Studio Code version: 1.81.1 (Universal)
  • Java extension version: v1.21.0
Steps To Reproduce
  • Add an annotation with properties, eg Hibernate, Spring, JPS whatever
  • Set cursor in the parenthesis
  • Hit autocomplete
Current Result

Shows no autocomplete results

Expected Result

Shows autocomplete results

Additional Informations

This should have been working for years now ... I waited and waited, finally I found the time to make a ticket ;-) (no offence)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions