From 3fcde6c0bbc2ca40fd3c43c21cdf3376deafccb0 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Sat, 10 Feb 2024 00:15:37 +0100 Subject: [PATCH] Add Main UI script editor docs (#2231) Signed-off-by: Florian Hotze --- mainui/settings/script-editor.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mainui/settings/script-editor.md diff --git a/mainui/settings/script-editor.md b/mainui/settings/script-editor.md new file mode 100644 index 0000000000..2ccf95f5dc --- /dev/null +++ b/mainui/settings/script-editor.md @@ -0,0 +1,18 @@ +--- +layout: documentation +title: Script Editor +--- + +# Script Editor + + +The script editor is used everywhere in the UI where some type of configuration file or source code has to be edited. +It provides syntax highlighting and auto-completion for code and Item names for multiple languages. + +When using the script editor, you might find the following shortcuts useful: + +- CtrlSpace: Trigger auto-completion. +- CtrlQ: Show documentation (for JavaScript only). +- ShiftTab: Indent less. +- Ctrl/ & Cmd/: Comment/Uncomment the current line. +