diff --git a/.vscode/settings.json b/.vscode/settings.json index 18cc8d6..b51b8ea 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,35 +1,31 @@ { - "astyle.astylerc": "${workspaceRoot}/.astylerc", - "astyle.additional_languages": [ - "gsc" - ], - "[gsc]": { - "editor.defaultFormatter": "chiehyu.vscode-astyle", - }, - "editor.quickSuggestions": { - "other": true, - "comments": true, - "strings": true - }, - "vscode-codscript.use_builtin_completionItems": false, + "astyle.astylerc": "${workspaceRoot}/.astylerc", + "astyle.additional_languages": ["gsc"], + "[gsc]": { + "editor.defaultFormatter": "chiehyu.vscode-astyle" + }, + "editor.quickSuggestions": { + "other": true, + "comments": true, + "strings": true + }, + "vscode-codscript.use_builtin_completionItems": false, - "triggerTaskOnSave.tasks": { - "Compile current GSC File": [ - "*.gsc" - ] - }, - "Lua.diagnostics.globals": [ - "InheritFrom", - "CoD", - "LUI", - "Dvar", - "Engine", - "UIExpression", - "RegisterMaterial", - "GetTextDimensions", - "setstencil", - "HUD_IngameMenuClosed", - "HUD_IsFFA", - "HideGlobe" - ] + "triggerTaskOnSave.tasks": { + "Compile current GSC File": ["*.gsc"] + }, + "Lua.diagnostics.globals": [ + "InheritFrom", + "CoD", + "LUI", + "Dvar", + "Engine", + "UIExpression", + "RegisterMaterial", + "GetTextDimensions", + "setstencil", + "HUD_IngameMenuClosed", + "HUD_IsFFA", + "HideGlobe" + ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 412b320..542a1bd 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,27 +1,22 @@ { - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "Compile current GSC File", - "type": "shell", - "options": { - "shell": { - "executable": "cmd.exe", - "args": [ - "/d", - "/c" - ] - }, - "cwd": "${fileDirname}" - }, - "command": "${workspaceRoot}/.vscode/Compiler.exe", - "args": [ - "\"${fileBasename}\"" - ], - "problemMatcher": [], - "isBackground": true, - } - ] + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Compile current GSC File", + "type": "shell", + "options": { + "shell": { + "executable": "cmd.exe", + "args": ["/d", "/c"] + }, + "cwd": "${fileDirname}" + }, + "command": "${workspaceRoot}/.vscode/Compiler.exe", + "args": ["\"${fileBasename}\""], + "problemMatcher": [], + "isBackground": true + } + ] }