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
YAML Property completion: Superclass properties not detected in case of List or Map #449
I am using Spring Boot Tools 1.16.0 in VS Code. I am observing a problem with property completion in application.yaml files, that occurs whenever a property (bar) is defined in a superclass (SuperclassProperties) of a type (NestedProperties), that can be provided as a List or Map (nested). The property (bar) is not found in that case and reported as invalid, only properties defined in the child class (foo) work correctly.
If the property nested is not defined as a list or map (private NestedProperties nested), the bar property is explicitly listed in the spring-configuration-metadata.json file and code-completion works as expected.
Activity
kdvolder commentedon Apr 17, 2020
Reproducible. I tried it in Eclipse but it's the same issue since uses same language server under the hood.
kdvolder commentedon Apr 17, 2020
Thanks for the nice and detailed bug report and example by the way.
spring-projects-issues commentedon Apr 17, 2020
(comment in Pivotal Tracker added by Kris De Volder:)
Pushed a fix.
spring-projects-issues commentedon Apr 17, 2020
(comment in Pivotal Tracker added by Kris De Volder:)
Verfied the fix with a vscode snapshot build. Delivering.
Note: Did not verify the Eclipse build, I think the change is still working it's way through the slow build pipeline.
beckermarc commentedon Apr 20, 2020
Thanks for the fast fix @kdvolder :)