The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia
Describe the bug
If map key is escaped string (like [/**]), VSCode YAML code completion not works properly.
To Reproduce
Windows 11 23H2 (Build 22631.3447)
OpenJDK 21.0.2
Spring Boot v3.2.5
VSCode v1.88.1
Language Support for Java(TM) by Red Hat 1.30.0
Spring Boot Tools v1.53.0
Sample configuratin class:
@ConfigurationProperties(prefix = "demo")
public class RootConfig {
private Map<String, ChildConfig> pathMap;
// Getters and Setters...
}
public class ChildConfig {
private String host;
private int port;
// Getters and Setters...
}
Key without escape works properly:
Key with escape provides no completion:
Requires one extra deeper indentation:
Completion provides no host, used in previous key:
Describe the bug If map key is escaped string (like
[/**]
), VSCode YAML code completion not works properly.To Reproduce
Sample configuratin class:
Key without escape works properly:
Key with escape provides no completion:
Requires one extra deeper indentation:
Completion provides no
host
, used in previous key:Sample
https://github.com/musashi-miyamoto/sts4-configuration-issue-reproduce-sample