DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.1k stars 1.38k forks source link

YAML validator #439

Open Andret2344 opened 2 years ago

Andret2344 commented 2 years ago

What's the Problem?

No response

Solution/Idea

If I have a YAML snippet/file, I'd like to check if it's structure is valid

Alternatives

Online tools like this one

Priorities

Capability Priority
Validate if YAML is correct Must
Points the incorrect keys/values Should
Mark errors in the pasted code Could
Modify the pasted structure Won't

DevToys Version

Version 1.0.3.0 | X64 | RELEASE | 7c7c02a | 7c7c02a

Comments

No response

michael-hawker commented 2 years ago

I was just coming to suggest the same thing!

Would be nice to have a whole 'Validator' category and include options for XML, YAML, JSON, CSV, HTML, CSS,

Unlike the formatters, they'd just take the input and then spit out/highlight any (or the first) syntax error encountered.

sampaiodias commented 2 years ago

+1 to this and other validators, please

3dotsDev commented 1 year ago

i would get +1 for a yaml validator.... for every dev who works in devops environment it would be super useful :-)