Python script editor plugin for Unreal Engine
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:
%APPDATA%/UnrealEngine/PythonScriptEditor
~/Library/Application Support/UnrealEngine/PythonScriptEditor
~/.config/UnrealEngine/PythonScriptEditor
Tabs are stored in: [UserDataDirectory]/ScriptEditorTabs/
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 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
}