Skip to content

Commit

Permalink
VSCode QOL (#30)
Browse files Browse the repository at this point in the history
* vscode QOL

* ftl fix

* remove yaml
  • Loading branch information
Piras314 authored Dec 16, 2024
1 parent dd06e0c commit 3d7ad75
Show file tree
Hide file tree
Showing 7 changed files with 139 additions and 16 deletions.
6 changes: 5 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"recommendations": [
"ms-dotnettools.csharp",
"editorconfig.editorconfig"
"editorconfig.editorconfig",
"ertanic.robust-lsp",
"GitHub.vscode-pull-request-github",
"eamodio.gitlens",
"macabeus.vscode-fluent"
]
}
95 changes: 87 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "YAML Linter",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-yaml-linter",
"program": "${workspaceFolder}/bin/Content.YAMLLinter/Content.YAMLLinter.dll",
"cwd": "${workspaceFolder}/Content.YAMLLinter",
"console": "internalConsole",
"stopAtEntry": false
},
// Client configurations
{
"name": "Client",
"type": "coreclr",
Expand All @@ -14,14 +25,56 @@
"stopAtEntry": false
},
{
"name": "Client (Compatibility renderer)",
"name": "Client - Tools",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build - Tools",
"program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll",
"args": [],
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Client - Release",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build - Release",
"program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll",
"args": [],
"console": "internalConsole",
"stopAtEntry": false
},
// Compatibility renderer client configurations
{
"name": "Client - (Compatibility renderer)",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll",
"args": "--cvar display.compat=true",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Client - Tools - (Compatibility renderer)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build - Tools",
"program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll",
"args": ["--cvar display.compat=true"],
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Client - Release - (Compatibility renderer)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build - Release",
"program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll",
"args": ["--cvar display.compat=true"],
"console": "internalConsole",
"stopAtEntry": false
},
// Server configurations
{
"name": "Server",
"type": "coreclr",
Expand All @@ -32,15 +85,25 @@
"stopAtEntry": false
},
{
"name": "YAML Linter",
"name": "Server - Tools",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-yaml-linter",
"program": "${workspaceFolder}/bin/Content.YAMLLinter/Content.YAMLLinter.dll",
"cwd": "${workspaceFolder}/Content.YAMLLinter",
"console": "internalConsole",
"preLaunchTask": "build - Tools",
"program": "${workspaceFolder}/bin/Content.Server/Content.Server.dll",
"args": [""],
"console": "integratedTerminal",
"stopAtEntry": false
}
},
{
"name": "Server - Release",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build - Release",
"program": "${workspaceFolder}/bin/Content.Server/Content.Server.dll",
"args": [""],
"console": "integratedTerminal",
"stopAtEntry": false
},
],
"compounds": [
{
Expand All @@ -50,6 +113,22 @@
"Client"
],
"preLaunchTask": "build"
},
{
"name": "Server/Client - Tools",
"configurations": [
"Server - Tools",
"Client - Tools"
],
"preLaunchTask": "build - Tools"
},
{
"name": "Server/Client - Release",
"configurations": [
"Server - Release",
"Client - Release"
],
"preLaunchTask": "build - Release"
}
]
}
}
40 changes: 40 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,46 @@
},
"problemMatcher": "$msCompile"
},
{
"label": "build - Tools",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"--configuration",
"Tools",
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
"/consoleloggerparameters:'ForceNoAlign;NoSummary'", // Do not generate summary otherwise it leads to duplicate errors in Problems panel
],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
},
{
"label": "build - Release",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"--configuration",
"Release",
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
"/consoleloggerparameters:'ForceNoAlign;NoSummary'", // Do not generate summary otherwise it leads to duplicate errors in Problems panel
],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
},
{
"label": "build-yaml-linter",
"command": "dotnet",
Expand Down
6 changes: 3 additions & 3 deletions Resources/Locale/en-US/devices/device-network.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ device-frequency-prototype-name-basic-device = Basic Devices
device-frequency-prototype-name-cyborg-control = Cyborg Control
device-frequency-prototype-name-robotics-console = Robotics Console
## camera frequencies
# camera frequencies
device-frequency-prototype-name-surveillance-camera-test = Subnet Test
device-frequency-prototype-name-surveillance-camera-engineering = Engineering Cameras
device-frequency-prototype-name-surveillance-camera-security = Security Cameras
Expand All @@ -33,7 +33,7 @@ device-address-prefix-freezer = FZR-
device-address-prefix-volume-pump = VPP-
device-address-prefix-smes = SMS-
#PDAs and terminals
# PDAs and terminals
device-address-prefix-console = CLS-
device-address-prefix-fire-alarm = FIR-
device-address-prefix-air-alarm = AIR-
Expand All @@ -42,7 +42,7 @@ device-address-prefix-sensor-monitor = MON-
device-address-examine-message = The device's address is {$address}.
#Device net ID names
# Device net ID names
device-net-id-private = Private
device-net-id-wired = Wired
device-net-id-wireless = Wireless
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#When an admin adds a game rule
# When an admin adds a game rule
add-gamerule-admin = Game rule({$rule}) added - {$admin}
list-gamerule-admin-header = | Time | Rule added
list-gamerule-admin-no-rules = No game rules have been added.
Expand Down
4 changes: 2 additions & 2 deletions Resources/Locale/en-US/revenant/revenant.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ revenant-soul-yield-low = {CAPITALIZE(THE($target))} has a below average soul.
revenant-soul-begin-harvest = {CAPITALIZE(THE($target))} suddenly rises slightly into the air, {POSS-ADJ($target)} skin turning an ashy gray.
revenant-soul-finish-harvest = {CAPITALIZE(THE($target))} slumps onto the ground!
#UI
# UI
revenant-user-interface-title = Ability Shop
revenant-user-interface-essence-amount = [color=plum]{$amount}[/color] Stolen Essence
revenant-user-interface-cost = {$price} Essence
revenant-user-interface-cost = {$price} Essence
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/weapons/melee/melee.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ melee-inject-failed-hardsuit = Your {$weapon} cannot inject through hardsuits!
melee-balloon-pop = {CAPITALIZE(THE($balloon))} popped!
#BatteryComponent
# BatteryComponent
melee-battery-examine = It has enough charge for [color={$color}]{$count}[/color] hits.

0 comments on commit 3d7ad75

Please sign in to comment.