ajaxorg / ace

Ace (Ajax.org Cloud9 Editor)
https://ace.c9.io
Other
26.64k stars 5.27k forks source link

support multi-file display for yaml format #5260

Closed ywager closed 1 month ago

ywager commented 1 year ago

Describe the feature

In the following example, multiple yamls are separated by --- characters

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: '2022-12-09T04:33:56Z'
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: '2022-12-09T04:33:56Z'

When I try to use multiple yaml files, I modify the yaml first, and the yaml is illegal at this time. When I restore it, the yaml still prompts that it is illegal. I am not sure whether it is because the writing of multiple yaml files is currently not supported.

image image image

Use Case

In our company's products, we use the yaml editor in ace to create k8s resources, and there may be multiple yamls in one editor.

Proposed Solution

No response

Other Information

No response

Acknowledgements

ACE version used

1.23.4

github-actions[bot] commented 1 month ago

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.