Python Script Editor

Python script editor plugin for Unreal Engine

Configuration Guide

Settings Overview

Settings Panel

Editor Settings

File Locations

Default user data directory: [ProjectContent]/PythonScriptEditor/

This is where your tab python files and snippets will be saved, We recommend changing this to a local location to avoid stepping on each others changes if multiple artists are working on a project.

Recommended to change this to:

Tab Persistence

Tabs are stored in: [UserDataDirectory]/ScriptEditorTabs/

Environment Variables

Variable Default Description
UE_PYTHONSCRIPTEDITOR_PYTHON_API_URL https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/ Python API documentation URL
UE_PYTHONSCRIPTEDITOR_DOC_URL - Script editor documentation URL

Snippets Configuration

Snippets are stored in: [UserDataDirectory]/PythonSnippets.json

A snippet can optionally use the selection, if RequiresSelection is true, it will replace %SELECTION% with the currently selected text.

Example snippet:

{
  "Name": "Print Selected",
  "Category": "Debug",
  "Snippet": "print(%SELECTION%)",
  "RequiresSelection": true
}