decaporg / decaporg/decap-cms

Hand editing YAML without schema types/autocomplete is a time-sink

Open
#7,006 6 comments 1 reaction 0 assignees View on GitHub
type: feature
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

I'm not sure the best solution (if one doesn't already exist) -- but every time I have to hand-edit the `config.yml` file -- a part of me dies inside knowing how much time and mental energy is being wasted. I'm not sure if there is some kind of LSP for yaml that can take in a url to a schema and provide autocomplete in VSCode, but if not, there's got to be something we can do.

Simply having a typescript definition of the schema would allow me to author it in typescript and generate the yaml file myself if need-be. I imagine this already exists somewhere?

Something modern like the [config of TinaCMS](https://tina.io/docs/extending-tina/overview/) would save countless people countless hours!

Apologies if there is already a solution to this that has eluded me! If so, I would really appreciate some advice :)

And of course, thank you all for all the hard work on Decap!!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.