panel
panel copied to clipboard
YAML Tab Characters
Is there an existing feature request for this?
- [X] I have searched the existing issues before opening this feature request.
Describe the feature you would like to see.
Replace all tabs in YML with spacing of a defined width when saved in editor
file_content.replace("\t", " ".repeat(tab_width))
An alternative solution would be to consider making the tab character distinctly visible as a tab character in the editor
Describe the solution you'd like.
YML files cannot utilize tab characters anyway, and visually they might appear the same in the editor. If a parser does not call out the tab character, runtime indentation errors could be introduced and hard to track down, since tab characters and spaces of a defined width appear same in the editor.
Example,
Line 323 is indented with a tab character whereas 324 utilizes spaces
Additional context to this request.
No response