Customize built-in editor

Use your preferred font with the built-in script editor in the Run Script… panel by setting user defaults on the command-line.

Use custom font

Set the scriptEditorFont preference to the name of the custom font, e.g. SF Mono Light.

defaults write com.bohemiancoding.sketch3 scriptEditorFont "SF Mono Light"

Adjust the font size setting with the scriptEditorFontSize preference. The default is 12.

defaults write com.bohemiancoding.sketch3 scriptEditorFontSize 14

Reset font

To revert any changes, remove your user preferences for font and font size.

defaults delete com.bohemiancoding.sketch3 scriptEditorFont
defaults delete com.bohemiancoding.sketch3 scriptEditorFontSize
See something wrong or incomplete? Improve this page.