Skip to content

YAML should not support tabs.Β #372

@bartoszbinda

Description

@bartoszbinda

According to this: https://yaml.org/spec/1.2/spec.html#id2777534
`In YAML block styles, structure is determined by indentation. In general, indentation is defined as a zero or more space characters at the start of a line.

To maintain portability, tab characters must not be used in indentation, since different systems treat tabs differently. Note that most modern editors may be configured so that pressing the tab key results in the insertion of an appropriate number of spaces.

The amount of indentation is a presentation detail and must not be used to convey content information.

Each node must be indented further than its parent node. All sibling nodes must use the exact same indentation level. However the content of each sibling node may be further indented independently..`
Wild web developer allows us to use YAML files with tabs.
https://imgur.com/58hVbWM
Is there any change to do in generic editor to allows convering tabs to space?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions