You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Always pop up a prompt box: indexing spring boot properties #697
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?
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)
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?
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.
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.
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
Activity
martinlippert commentedon Oct 28, 2021
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:
zhiyiYo commentedon Oct 28, 2021
I hope this will be helpful
demo.zip
martinlippert commentedon Oct 28, 2021
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.propertiesfile. Can you verify that the exact same issue happens when you have an empty workspace in VSCode and just open this sample project?zhiyiYo commentedon Oct 28, 2021
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.

martinlippert commentedon Oct 28, 2021
It looks like you have
Auto-Saveactivated, which then triggers the re-index of the properties. If I enable theAuto Savepreference, I can reproduce this behavior, so thanks a lot for double checking, much appreciated.You could avoid this by disabling the
Auto Saveor reduce its frequency (as a workaround) while we work on a solution for the next release.zhiyiYo commentedon Oct 28, 2021
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.
letsgetraw commentedon Jan 10, 2022
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
BoykoAlex commentedon Jan 15, 2022
Two latest commits from me and @kdvolder should fix the the pesky popup indirectly: