Skip to content

Always pop up a prompt box: indexing spring boot properties #697

Closed

Description

@zhiyiYo

Describe the bug
As shown in the figure below, a prompt box always pops up in the lower right corner of VS Code: indexing spring boot properties. This prompt is very annoying. Is there a way to turn it off?
indexing

Activity

  1. added this to the 4.13.0.RELEASE milestone on Oct 28, 2021
  2. martinlippert commented on Oct 28, 2021

    @martinlippert
    Member

    Thanks for reporting and posting the video, that helps a lot. Clearly very annoying and should be fixed. Do you have a sample project at hand that could help us to reproduce the issue?

    My initial thoughts here are:

    • we need to understand WHY the language server tries to re-index the properties
    • we need to change the notification mechanism and utilize the progress reporting piece in the status bar to visually this (instead of a prompt)
  3. zhiyiYo commented on Oct 28, 2021

    @zhiyiYo
    Author

    I hope this will be helpful
    demo.zip

  4. martinlippert commented on Oct 28, 2021

    @martinlippert
    Member

    When I try your sample project (which seems to be a freshly generated Spring Boot project from https://start.spring.io, I don't see the prompt showing up when trying into the application.properties file. Can you verify that the exact same issue happens when you have an empty workspace in VSCode and just open this sample project?

  5. zhiyiYo commented on Oct 28, 2021

    @zhiyiYo
    Author

    This is the project I just created. However, I tested this new project in vs code, and the same problem will still occur. As shown in the figure below.
    indexing

  6. martinlippert commented on Oct 28, 2021

    @martinlippert
    Member

    It looks like you have Auto-Save activated, which then triggers the re-index of the properties. If I enable the Auto Save preference, I can reproduce this behavior, so thanks a lot for double checking, much appreciated.

    You could avoid this by disabling the Auto Save or reduce its frequency (as a workaround) while we work on a solution for the next release.

  7. zhiyiYo commented on Oct 28, 2021

    @zhiyiYo
    Author

    Thank you for your reply. Yes, my VS Code turns on the auto save configuration. You have great insight. Look forward to your team's repair.

  8. removed this from the 4.13.0.RELEASE milestone on Dec 16, 2021
  9. letsgetraw commented on Jan 10, 2022

    @letsgetraw

    The problem explained above still persists as of the 10.01.2022. Please reconsider the (if existing) fix. My AutoSave is turned off and I nevertheless get the exact same behaviour as stated and shown in the videos from zhiyiYo

  10. BoykoAlex commented on Jan 15, 2022

    @BoykoAlex
    Contributor

    Two latest commits from me and @kdvolder should fix the the pesky popup indirectly:

  11. added this to the 4.13.1.RELEASE milestone on Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: vscodetype: enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions