vscode-yaml
vscode-yaml copied to clipboard
Applying a Compose completion item makes my YAML file malformed
Describe the bug
Code completion "in between" another attribute seems to "reuse" the content after it and produces a malformed YAML file.
Expected Behavior
Applying a completion item produce a reasonable YAML file perhaps missing an attribute's value for me to type.
Current Behavior
Applying this completion item has made my YAML file look even worse than it started.
Steps to Reproduce
- Create
compose.yamlwith the content below. - Invoke code completion on the
- biline. - Accept the
bindand the applied content appears to be corrupt. - I only have the Red Hat extension enabled and the Docker ones have been disabled.
services:
test:
volumes:
- bi
type: tmpfs
https://github.com/user-attachments/assets/bb68f459-47ea-430f-aab5-7b36e3958df8
Environment
- [ ] Windows
- [x] Mac
- [ ] Linux
- [ ] other (please specify)