-
Notifications
You must be signed in to change notification settings - Fork 28
Snippets
psyGamer edited this page Aug 18, 2024
·
1 revision
Snippets allow you to easily use common input sequences / commands!
Inside Celeste Studio, you can open Settings > Snippets...
to open the snippet editor. There you can add / edit all snippets
Snippets have 3 parts
- Hotkey: A key combination you can press inside the editor, to insert that snippet.
- Shortcut: A short text sequence, which will pop-up in the auto-complete menu. There you can select and expand it to your full snippet.
- Insert: The text which will be inserted when the snippet is used. These can span across multiple lines and also support Quick-Edits
Quick-edits make snippets even more powerful. You can define regions through which you can cycle with Tab and then edit them.
They have the following syntax: [index;text]
-
index
is a number used to sort the quick-edits in Tab cycle. -
text
is the text which will be inserted by default. Thetext
is optinal and can be ommited by just using[index]
.
Then you can just insert them into your snippet's Insert: StunPause [0;Input]
This will show as just StunPause Input
, but with a quick-edit on Input
.
Note
Quick-edits current don't work too great on inputs, so you might want to wait on using them for that until it's been fixed.