Developers lose intentional blank lines during cleanup and YAML edits
Developers want to trim trailing spaces from code lines without removing whitespace-only lines they use while writing. Separately, yq users report that rewriting YAML removes completely blank lines they want to keep for readability and smaller diffs. The shared problem is that editing tools discard whitespace that users consider intentional, and the evidence describes uncertainty about editor behavior and a shell-function workaround rather than a standard solution.
For developers editing code and YAML. Mentioned from Aug 2019 to Apr 2022 on GitHub.
4 different people described this problem in 2 separate discussions.
- Indie fit
- 3.0/10
- Pain
- 5.0/10
- Frequency
- 5.8/10
- Willingness to pay
- 0.0/10
- Momentum
- 5.0/10
- Who pays
- Professionals
- Competition
- Medium
- Build difficulty
- Medium
What people said
Quoted word for word. Follow a link to read the whole discussion.
Also, I'm not sure if that setting takes this into account or not, but I'd be interested in removing whitespace at the end of non-empty lines, but preserving whitespace-only lines. I never add extra tabs or spaces after a line of code, but I do use whitespace-only lines to navigate easier while I'm writing code
This is exactly what I'd love to have. As far as I know there sadly isn't a built-in solution for this right now
Build brief
See what to build and who will buy it
- 2 product ideas with the smallest useful version and pricing
- 3 places to find your first customers
- 2 more quotes from people who have this problem
- Current workarounds, existing solutions and risks