forked from openhab/openhab-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Main UI script editor docs (openhab#2231)
Signed-off-by: Florian Hotze <[email protected]>
- Loading branch information
1 parent
d04a583
commit 3fcde6c
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
layout: documentation | ||
title: Script Editor | ||
--- | ||
|
||
# Script Editor | ||
|
||
<!-- START MAINUI SIDEBAR DOC - DO NOT REMOVE --> | ||
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: | ||
|
||
- <kbd>Ctrl</kbd><kbd>Space</kbd>: Trigger auto-completion. | ||
- <kbd>Ctrl</kbd><kbd>Q</kbd>: Show documentation (for JavaScript only). | ||
- <kbd>Shift</kbd><kbd>Tab</kbd>: Indent less. | ||
- <kbd>Ctrl</kbd><kbd>/</kbd> & <kbd>Cmd</kbd><kbd>/</kbd>: Comment/Uncomment the current line. | ||
<!-- END MAINUI SIDEBAR DOC - DO NOT REMOVE --> |