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

Console Window Size (%)
Console Window Size (%)Adjust this to change the size of the Console. Value is % it will cover the Main Editor. Default: 45
Console Font Size (px)
Console Font Size (px)Change the Console, language editor and breakpoint editor default font size. Value in px. Default: 20
Main Editor Font Size (px)
Main Editor Font Size (px)Change the Editor's default font size. Value in px. Default: 20
Editor Customization 

Keybindings
KeybindingsChange keybinding / keyboard shortcut modes Options:
Default (ACE)VimEmacsSublimeVSCode
Text Wrapping
Text WrappingChange the editor text wrapping mode
Options:
OffViewMargin40

New Line Mode
New Line ModeChange the type of new lines used in the editor
Options:
AutoUnixWindows
Use Soft Tabs
Use Soft TabsChecking this will use spaces instead of 'hard' tabs
Soft Tab Size
Soft Tab SizeNumber of spaces to use as tab. Default: 4
Show Invisible Characters
Show Invisible CharactersChecking this will display spaces and tabs as visible characters in the Editor.

Highlight Active Line
Highlight Active LineChecking this will show the line the cursor is on by highlighting the entire line.

Show Folding Widgets
Show Folding WidgetsChecking this will automatically show folding carats for foldable blocks of code (extensions,functions,ifs,...). This feature is required if Live Extension Validation is enabled


Show Folding Widgets Only On Hover
Show Folding Widgets Only On HoverChecking this will only show folding carats for foldable blocks of code (EXTENSION,FUNCTION,IF, etc) while the mouse is over the Editor Gutter.
Show Gutter (line numbers, folding, info, warnings, breakpoints)
Show Gutter (line numbers, folding, info, warnings, breakpoints)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
Auto Indent
Auto IndentChecking this draws visible columns to help display nested blocks
Display Indentation Guides
Display Indentation GuidesChecking this draws visible columns to help display nested blocks


Display Print Margin
Display Print MarginChecking this draws an character margin line in the editor
Print Margin Width
Print Margin WidthNumber of characters wide to show print margin at. Default Value: 80
Escape key opens console
Escape key opens consoleChecking this will bind the ESCAPE key to open the console as well as close it
Always show Horizontal Scroll Bar
Always show Horizontal Scroll BarChecking this will always show the editor's horizontal scrollbar regardless of the document's character width
Always show Vertical Scroll Bar
Always show Vertical Scroll BarChecking this will always show the editor's vertical scrollbar regardless of the document's character width
Last updated
Was this helpful?