Studio › Manual › Editor plugins

What plugins can and can't do

Plugins run in a sandbox inside Studio:

  • Files: only text files inside the project (not .git, and not other plugins), and the plugin's own data folder. Paths are relative; .. and links that lead outside are refused.
  • No network: http_get, network_… and url_open only report an error.
  • No programs: editor_shell works only for a plugin that asks for it in plugin.json and that you allowed on the Plugins page, after a clear warning. The permission is for the plugin's code as it is; if its code changes, Studio asks again.
  • A time limit (5 seconds a run): a plugin that runs away is stopped, even inside try, and Studio carries on.
  • Errors never close Studio: they go to Output and the Plugins page, and a run that fails puts back what it wrote.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.