This commit is contained in:
ineed bots 2021-12-21 21:55:40 -06:00
parent 93909c4577
commit 3221f2791e
2 changed files with 48 additions and 57 deletions

60
.vscode/settings.json vendored
View File

@ -1,35 +1,31 @@
{ {
"astyle.astylerc": "${workspaceRoot}/.astylerc", "astyle.astylerc": "${workspaceRoot}/.astylerc",
"astyle.additional_languages": [ "astyle.additional_languages": ["gsc"],
"gsc" "[gsc]": {
], "editor.defaultFormatter": "chiehyu.vscode-astyle"
"[gsc]": { },
"editor.defaultFormatter": "chiehyu.vscode-astyle", "editor.quickSuggestions": {
}, "other": true,
"editor.quickSuggestions": { "comments": true,
"other": true, "strings": true
"comments": true, },
"strings": true "vscode-codscript.use_builtin_completionItems": false,
},
"vscode-codscript.use_builtin_completionItems": false,
"triggerTaskOnSave.tasks": { "triggerTaskOnSave.tasks": {
"Compile current GSC File": [ "Compile current GSC File": ["*.gsc"]
"*.gsc" },
] "Lua.diagnostics.globals": [
}, "InheritFrom",
"Lua.diagnostics.globals": [ "CoD",
"InheritFrom", "LUI",
"CoD", "Dvar",
"LUI", "Engine",
"Dvar", "UIExpression",
"Engine", "RegisterMaterial",
"UIExpression", "GetTextDimensions",
"RegisterMaterial", "setstencil",
"GetTextDimensions", "HUD_IngameMenuClosed",
"setstencil", "HUD_IsFFA",
"HUD_IngameMenuClosed", "HideGlobe"
"HUD_IsFFA", ]
"HideGlobe"
]
} }

45
.vscode/tasks.json vendored
View File

@ -1,27 +1,22 @@
{ {
// See https://go.microsoft.com/fwlink/?LinkId=733558 // See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Compile current GSC File", "label": "Compile current GSC File",
"type": "shell", "type": "shell",
"options": { "options": {
"shell": { "shell": {
"executable": "cmd.exe", "executable": "cmd.exe",
"args": [ "args": ["/d", "/c"]
"/d", },
"/c" "cwd": "${fileDirname}"
] },
}, "command": "${workspaceRoot}/.vscode/Compiler.exe",
"cwd": "${fileDirname}" "args": ["\"${fileBasename}\""],
}, "problemMatcher": [],
"command": "${workspaceRoot}/.vscode/Compiler.exe", "isBackground": true
"args": [ }
"\"${fileBasename}\"" ]
],
"problemMatcher": [],
"isBackground": true,
}
]
} }