mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 19:26:50 +00:00
2024.10: Finish up YAML editor improvements section
This commit is contained in:
parent
2c385e5fa1
commit
16502cd278
@ -430,25 +430,24 @@ in the issue dialog.
|
|||||||
|
|
||||||
### YAML-editor improvements
|
### YAML-editor improvements
|
||||||
|
|
||||||
[@naps62] has been busy improving the YAML editor found in the Home Assistant user interface.
|
[@naps62] has been busy improving the YAML editor found in the Home Assistant
|
||||||
|
user interface.
|
||||||
|
|
||||||
We now have a indentation-based vertical line, making it easier to see the
|
We now have a vertical line based on indentation, which makes it easier to see
|
||||||
indentation of your YAML configuration, allowing you to spot and prevent
|
the indentation of your YAML configuration and allows you to spot and prevent
|
||||||
indentation errors.
|
indentation errors.
|
||||||
|
|
||||||

|
<img class="no-shadow" src="/images/blog/2024-10/YAML-editor-improvements.png" alt="Screenshot showing the YAML editor with collapsed sections and the vertical indentation line.">
|
||||||
|
|
||||||
But he didn't stop there, you can now also collapse and expand sections of your
|
But he didn’t stop there. You can now collapse and expand sections of your
|
||||||
YAML configuration based on the indentation level.
|
YAML configuration based on the indentation level; which is also demonstrated
|
||||||
|
in the screenshot above.
|
||||||
|
|
||||||
|
Nice work [@naps62]!
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
[@naps62]: https://github.com/naps62
|
[@naps62]: https://github.com/naps62
|
||||||
|
|
||||||
Ref:
|
|
||||||
- https://github.com/home-assistant/frontend/pull/21966
|
|
||||||
- https://github.com/home-assistant/frontend/pull/21972
|
|
||||||
|
|
||||||
## Need help? Join the community!
|
## Need help? Join the community!
|
||||||
|
|
||||||
Home Assistant has a great community of users who are all more than willing
|
Home Assistant has a great community of users who are all more than willing
|
||||||
|
BIN
source/images/blog/2024-10/YAML-editor-improvements.png
Normal file
BIN
source/images/blog/2024-10/YAML-editor-improvements.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 340 KiB |
Loading…
x
Reference in New Issue
Block a user