# YML Editor

<figure><img src="/files/KWriygj2qgH3nPhKybcA" alt="" width="563"><figcaption></figcaption></figure>

K8studio provides a full YAML editor that provides the following functionalities :thumbsup:

1. **Syntax highlighting:** Highlights different elements of YAML syntax, such as keys, values, comments, etc., making it easier to read and edit YAML files.
2. **Auto-indentation:** Automatically indents lines to maintain proper YAML structure, improving code readability.
3. **Code folding**: Allows collapsing sections of YAML code to focus on specific parts of the file, reducing clutter and improving navigation.
4. **Error highlighting:** Identifies syntax errors and highlights them for easy detection, helping users correct mistakes efficiently.
5. **Validation:** Checks the YAML file against a schema or predefined rules to ensure it adheres to the correct format and structure.
6. **Find and replace:** Allows searching for specific text or patterns within the YAML file and replacing them as needed, enhancing productivity. To trigger the Find replace Dialog type **Command+F** or **Alt +F**

To save any changes to the cluster once the object is edited you just need to click on the Save Button on the cluster Details bar,&#x20;

To cancel changes and get a fresh copy of the object with the new information you will need to click on the Cancel button.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.k8studio.io/documentation/side-editor/yml-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
