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_…andurl_openonly report an error. - No programs:
editor_shellworks only for a plugin that asks for it inplugin.jsonand 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.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.