Scripton / Docs

Scratchpad

Scripton includes a special file referred to as the Scratchpad. To bring up the Scratchpad, use its keyboard shortcut ( + E) or click on its button in the toolbar:

It has a few special properties:

  • Each open workspace has its own persistent Scratchpad.

  • It's automatically saved and written to an internal location outside the associated workspace (so as not to clutter it).

  • The Scratchpad is treated as a Python source file and can be executed. This makes it particularly useful for quickly testing out transient code.

  • By default, the Scratchpad is auto-selected for execution, even when there's a pinned execution target. This behavior can be disabled in the Settings.