Skip to content

Migrating from Red Hat YAML

View as Markdown

oxyaml is a drop-in replacement for redhat.vscode-yaml:

  1. Keep your settings: All existing yaml.* settings (yaml.schemas, yaml.schemaStore.*, yaml.kubernetesCRDStore.*, yaml.format.*, yaml.customTags, etc.) and # yaml-language-server: $schema=... modelines continue to work unchanged.
  2. Automatic coexistence guard: If redhat.vscode-yaml is enabled, oxyaml does not start a competing language server and offers a Disable for Workspace prompt. Once redhat.vscode-yaml is disabled, oxyaml starts automatically.
  3. Default formatter: If your settings specify "editor.defaultFormatter": "redhat.vscode-yaml" under [yaml], change it to "marwanvx.oxyaml".