Editor Settings
Snippety provides a couple of settings to customize the editor to your needs:
-
Font Size: You can change the font size of the editor to make it more readable. Go to
App Settings -> Appearance
and change Snippet template font size. -
Highlight Syntax: By default, the editor will highlight text while you type. If you encounter performance issues, you can disable this feature in the settings. Just uncheck the Highlight syntax while editing snippets option in
App Settings -> Appearance
. -
Theme: You can change the theme of the editor in the preferences. The editor will automatically update the colors based on the selected theme. Go to
App Settings -> Appearance
and change Theme. -
Image Compression: Images are compressed while saving the snippet to reduce the size of the snippet. If you want to disable this behavior, you can do it in
App Settings -> Behaviors
. See Image Size Limit. -
Replace Tabs: For code snippets, it is usually desired to replace tabs with spaces. You can enable this behavior in
App Settings -> Behaviors
. You can also set the number of spaces to replace tabs with. -
AI Model for Editor: In the AI settings, you can configure which model you want to use in the Snippet Editor. You may choose a different model for the AI placeholder and the Snippet Editor. See AI Settings.
-
Remove Whitespaces: By default, Snippety removes whitespaces around simulated keys. This is useful to improve the readability of the snippet. If you want to preserve the whitespaces, you can disable this behavior in
App Settings -> Behaviors
. See Simulating Keys.
For code templates, you may often need to move the whole block to the right or
left. You can do this by selecting the block and pressing TAB
or Shift + TAB
.
The block will be moved by the number of spaces you have set in the Replace
Tabs setting.