Add Editor Preference to control server selection

This commit is contained in:
2026-06-03 15:52:20 -04:00
parent d951d2ab61
commit 6658fb7940
12 changed files with 163 additions and 100 deletions

View File

@@ -72,22 +72,48 @@
},
"tasks": {
"version": "2.0.0",
"tasks": {
"for-each" : [
{ "CMD" : "python3 build.py c++", "DEFAULT":true },
{ "CMD" : "python3 build.py all", "DEFAULT":false },
{ "CMD" : "python3 build.py clean", "DEFAULT":false }
],
"body" : {
"label": "[CMD]",
"group": {
"kind": "build",
"isDefault": "[DEFAULT]"
},
"command": "[CMD]",
"presentation": {
"clear": true
},
"tasks": [
{
"label": "python3 build.py c++",
"group": { "kind": "build", "isDefault": true },
"command": "python3 build.py c++",
"presentation": { "clear": true },
"problemMatcher": [
{
"owner": "build-integration",
"source": "build.py",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1, "line": 2, "column": 3, "severity": 4, "message": 5
}
}
],
"type": "shell"
},
{
"label": "python3 build.py all",
"group": { "kind": "build", "isDefault": false },
"command": "python3 build.py all",
"presentation": { "clear": true },
"problemMatcher": [
{
"owner": "build-integration",
"source": "build.py",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1, "line": 2, "column": 3, "severity": 4, "message": 5
}
}
],
"type": "shell"
},
{
"label": "python3 build.py clean",
"group": { "kind": "build", "isDefault": false },
"command": "python3 build.py clean",
"presentation": { "clear": true },
"problemMatcher": [
{
"owner": "build-integration",
@@ -101,78 +127,67 @@
],
"type": "shell"
}
}
]
},
"launch": {
"version": "0.2.0",
"configurations": {
"append1" : {
"for-each": [
{ "SERVER" : "Standalone" },
{ "SERVER" : "LocalHost" },
{ "SERVER" : "192.168.1.155" },
{ "SERVER" : "192.168.1.156" }
"configurations": [
{
"name": "UnrealEditor",
"request": "launch",
"program": "[UNREALENGINE]/Engine/Binaries/Linux/UnrealEditor-Linux-[DEBUG]",
"preLaunchTask": "python3 build.py c++",
"args": [
"[INTEGRATION]/Integration.uproject",
"-userdir=User/[USER]"
],
"body": {
"name": "Server=[SERVER]",
"request": "launch",
"program": "[UNREALENGINE]/Engine/Binaries/Linux/UnrealEditor-Linux-[DEBUG]",
"preLaunchTask": "python3 build.py c++",
"args": [
"[INTEGRATION]/Integration.uproject",
"-userdir=User/[USER]",
"-LuprexServer=[SERVER]"
],
"cwd": "[INTEGRATION]",
"type": "lldb",
"console": "integratedTerminal",
"initCommands": [
"command script import [INTEGRATION]/tools/UEDataFormatter.py",
"settings set target.inline-breakpoint-strategy always",
"settings set target.prefer-dynamic-value no-run-target",
"process handle SIGTRAP --notify false --pass false --stop false",
"target stop-hook add --one-liner \"p FUnixPlatformMisc::UngrabAllInput()\""
]
}
"cwd": "[INTEGRATION]",
"type": "lldb",
"console": "integratedTerminal",
"initCommands": [
"command script import [INTEGRATION]/tools/UEDataFormatter.py",
"settings set target.inline-breakpoint-strategy always",
"settings set target.prefer-dynamic-value no-run-target",
"process handle SIGTRAP --notify false --pass false --stop false",
"target stop-hook add --one-liner \"p FUnixPlatformMisc::UngrabAllInput()\""
]
},
"append2" : [
{
"name": "UEWingman Commandlet",
"request": "launch",
"program": "[UNREALENGINE]/Engine/Binaries/Linux/UnrealEditor-Linux-[DEBUG]-Cmd",
"preLaunchTask": "python3 build.py c++",
"args": [
"[INTEGRATION]/Integration.uproject",
"-userdir=User/[USER]",
"-run=UEWingman",
"-unattended"
],
"cwd": "[INTEGRATION]",
"type": "lldb",
"console": "integratedTerminal",
"initCommands": [
"command script import [INTEGRATION]/tools/UEDataFormatter.py",
"settings set target.inline-breakpoint-strategy always",
"settings set target.prefer-dynamic-value no-run-target",
"process handle SIGTRAP --notify false --pass false --stop false"
]
},
{
"name": "Luprex Server",
"request": "launch",
"program": "[INTEGRATION]/luprex/build/[OS]/luprexstatic",
"preLaunchTask": "python3 build.py c++",
"args": [ "lpxserver" ],
"cwd": "[INTEGRATION]/luprex",
"type": "lldb",
"console": "integratedTerminal",
"initCommands": [
"settings set target.inline-breakpoint-strategy always",
"settings set target.prefer-dynamic-value no-run-target",
"process handle SIGTRAP --notify false --pass false --stop false"
]
}
]
}
{
"name": "UEWingman Commandlet",
"request": "launch",
"program": "[UNREALENGINE]/Engine/Binaries/Linux/UnrealEditor-Linux-[DEBUG]-Cmd",
"preLaunchTask": "python3 build.py c++",
"args": [
"[INTEGRATION]/Integration.uproject",
"-userdir=User/[USER]",
"-run=UEWingman",
"-unattended"
],
"cwd": "[INTEGRATION]",
"type": "lldb",
"console": "integratedTerminal",
"initCommands": [
"command script import [INTEGRATION]/tools/UEDataFormatter.py",
"settings set target.inline-breakpoint-strategy always",
"settings set target.prefer-dynamic-value no-run-target",
"process handle SIGTRAP --notify false --pass false --stop false"
]
},
{
"name": "Luprex Server",
"request": "launch",
"program": "[INTEGRATION]/luprex/build/[OS]/luprexstatic",
"preLaunchTask": "python3 build.py c++",
"args": [ "lpxserver" ],
"cwd": "[INTEGRATION]/luprex",
"type": "lldb",
"console": "integratedTerminal",
"initCommands": [
"settings set target.inline-breakpoint-strategy always",
"settings set target.prefer-dynamic-value no-run-target",
"process handle SIGTRAP --notify false --pass false --stop false"
]
}
]
}
}