Editor Settings
Settings related to the look and feel of the Editor within PayloadStudio
Some options are limited to PayloadStudio Pro. These will be indicated with the
label

Even though each setting is named to be self explanatory - every setting in PayloadStudio contains an description / explanation tool-tip available on hover

Setting description tool-tip
Adjust this to change the size of the Console.
Value is % it will cover the Main Editor.
Default: 45
Change the Console, language editor and breakpoint editor default font size.
Value in px.
Default: 20
Change the Editor's default font size.
Value in px.
Default: 20
Change keybinding / keyboard shortcut modes
Options:
Default (ACE)
Vim
Emacs
Sublime
VSCode
Change the editor text wrapping mode
Options:
Off
View
Margin
40

Text Wrapping Options Demo
Change the type of new lines used in the editor
Options:
Auto
Unix
Windows
Checking this will use spaces instead of 'hard' tabs
Number of spaces to use as tab.
Default: 4
Checking this will display spaces and tabs as visible characters in the Editor.

Show Invisible Characters Enabled - showing spaces and line endings
Checking this will show the line the cursor is on by highlighting the entire line.

Highlight Active Line Enabled
Checking this will automatically show folding carats for foldable blocks of code (extensions,functions,ifs,...). This feature is required if Live Extension Validation is enabled

Folding Widget

Folded Code
Checking this will only show folding carats for foldable blocks of code (
EXTENSION
,FUNCTION
,IF
, etc) while the mouse is over the Editor Gutter.
Checking this will show the bar for Line numbering, folding widgets, extension validation, annotations, breakpoints, warnings and errors. Option provided to ease of use on extremely slim screens - otherwise not recommended as the features previously mentioned rely on this being enabled
Checking this draws visible columns to help display nested blocks
Checking this draws visible columns to help display nested blocks

Indentation Guides Enabled

Indentation Guide Disabled
Checking this draws an character margin line in the editor
Number of characters wide to show print margin at. Default Value: 80
Checking this will bind the ESCAPE key to open the console as well as close it
Checking this will always show the editor's horizontal scrollbar regardless of the document's character width
Checking this will always show the editor's vertical scrollbar regardless of the document's character width
Last modified 7mo ago