Payload Studio
  • PayloadStudio
  • Getting Started
    • Overview
    • Getting Started
    • Editing Basics
    • FAQ
  • Customization
    • Appearance
    • Keyboard Shortcuts
    • IDE Settings
    • Editor Settings
    • Compiler Settings
Powered by GitBook
On this page
  • Console Window Size (%)
  • Console Font Size (px)
  • Main Editor Font Size (px)
  • Editor Customization
  • Keybindings
  • Text Wrapping
  • New Line Mode
  • Use Soft Tabs
  • Soft Tab Size
  • Show Invisible Characters
  • Highlight Active Line
  • Show Folding Widgets
  • Show Folding Widgets Only On Hover
  • Show Gutter (line numbers, folding, info, warnings, breakpoints)
  • Auto Indent
  • Display Indentation Guides
  • Display Print Margin
  • Print Margin Width
  • Escape key opens console
  • Always show Horizontal Scroll Bar
  • Always show Vertical Scroll Bar

Was this helpful?

  1. Customization

Editor Settings

Settings related to the look and feel of the Editor within PayloadStudio

Last updated 2 years ago

Was this helpful?

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 (%)

Adjust this to change the size of the Console. Value is % it will cover the Main Editor. Default: 45

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)

Change the Editor's default font size. Value in px. Default: 20

Keybindings

Change keybinding / keyboard shortcut modes Options:

  • Default (ACE)

  • Vim

  • Emacs

  • Sublime

  • VSCode

Text Wrapping

Change the editor text wrapping mode

Options:

  • Off

  • View

  • Margin

  • 40

New Line Mode

Change the type of new lines used in the editor

Options:

  • Auto

  • Unix

  • Windows

Use Soft Tabs

Checking this will use spaces instead of 'hard' tabs

Soft Tab Size

Number of spaces to use as tab. Default: 4

Show Invisible Characters

Checking this will display spaces and tabs as visible characters in the Editor.

Highlight Active Line

Checking this will show the line the cursor is on by highlighting the entire line.

Show Folding Widgets

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

Show Folding Widgets Only On Hover

Checking 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)

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

Checking this draws visible columns to help display nested blocks

Display Indentation Guides

Checking this draws visible columns to help display nested blocks

Display Print Margin

Checking this draws an character margin line in the editor

Print Margin Width

Number of characters wide to show print margin at. Default Value: 80

Escape key opens console

Checking this will bind the ESCAPE key to open the console as well as close it

Always show Horizontal Scroll Bar

Checking this will always show the editor's horizontal scrollbar regardless of the document's character width

Always show Vertical Scroll Bar

Checking this will always show the editor's vertical scrollbar regardless of the document's character width

Editor Customization

Setting description tool-tip
Text Wrapping Options Demo
Show Invisible Characters Enabled - showing spaces and line endings
Highlight Active Line Enabled
Folding Widget
Folded Code
Indentation Guides Enabled
Indentation Guide Disabled