spring-projects / spring-projects/spring-tools
[property editing] editing `application.yml` based property files doesn't work as good as `application.properties` files
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 983
- Forks
- 240
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 7
Description
I observed a few things that doesn't work the way they should:
server:
port: 8080
<*>
shows all kinds of properties, not just the one that are valid at the server level.
If selecting one of those random proposals, it is not inserted at the right level, but ends up looking like this:
server:
port: 8088
spring:
activemq:
broker-url:
Also note that spring is intended with a tab instead of spaces (as the other lines are).
The other non-optimal part is the sorting of proposals, which seems to be a similar issue that we faced with https://github.com/spring-projects/sts4/issues/1342.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in an application.yml file and compare property editing with application.properties. Investigate proposal filtering at the server level, insertion indentation, and proposal sorting, then verify that valid proposals are inserted at the correct level with consistent spacing and ordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- spring-boot, yaml
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100