Skip to content

STS on Eclipse: quick fix for "unknown property" always shows just "Computing..." on first invocation #593

@mauromol

Description

@mauromol

Describe the bug
When you enter a new unknown property in application.properties, a warning shows up saying it's an unknown property. Using quick fix (Ctrl+1) you should be able to create the corresponding metadata in additional-spring-configuration-metadata.json file.
However, the very first time you invoke Ctrl+1 on a specific property, only "Computing..." is shown and it is never replaced with the actual quick assist action.

immagine

To Reproduce
Open application.properties.
Add a new property like: foobar.enabled=true.
foobar.enabled gets underlined in yellow; do not hit F2 or wait for explanation tooltip to show up
Quickly place the cursor within foobar.enabled name and hit Ctrl+1.

Please note: if you wait enough for the rendering of the tooltip explaining that the property is unknown to be shown, then you probably won't hit this bug. Perhaps, if you have a super-fast system you won't hit it either, but on my system, unless I wait for every tooltip to show up, I will certainly have to hit Ctrl+1 twice for each property in order to trigger the requested action.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions