Skip to content

[optimization] Boot properties completions slow to show up #1120

Closed

Description

@BoykoAlex

Initial invocation of content assists for completion proposals may be very slow (~2 sec) for the initial invocation or invocation after the classpath change.

The issue is completion text edit fetches java type data from JDT LS for all property value types. Instead it'd be good to push the computation of part of the edit to the completion item resolve stage. Alternative could be making value type fetching part of the spring properties indexing process (might be a better solution if we switch to YAML LS implementation for Spring Properties YAML)

Activity

  1. self-assigned this
    on Oct 9, 2023
  2. added this to the 4.20.1.RELEASE milestone on Oct 9, 2023
  3. BoykoAlex commented on Oct 9, 2023

    @BoykoAlex
    ContributorAuthor

    Should be addressed with 1dfba38. Lazy edit computed during resolve stage is the solution in the commit: 1dfba38

  4. added
    for: eclipse
    for: vscode
    and removed on Oct 9, 2023
  5. changed the title [-]Boot properties completions slow to show up[/-] [+][optimization] Boot properties completions slow to show up[/+] on Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: performancetheme: property-editing-supporttype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions