diff options
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/extensions.json | 1 | ||||
-rw-r--r-- | .vscode/settings.json | 59 | ||||
-rw-r--r-- | .vscode/tasks.json | 40 |
3 files changed, 17 insertions, 83 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 5b380e1..977c0ca 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,5 +1,6 @@ { "recommendations": [ + "llvm-vs-code-extensions.vscode-clangd", "EditorConfig.EditorConfig", "ms-vscode.cmake-tools" ] diff --git a/.vscode/settings.json b/.vscode/settings.json index 27ae565..af4ae4e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,63 +1,6 @@ { "cmake.sourceDirectory": "${workspaceFolder}/src", "files.associations": { - "any": "cpp", - "array": "cpp", - "atomic": "cpp", - "bit": "cpp", - "*.tcc": "cpp", - "cctype": "cpp", - "charconv": "cpp", - "clocale": "cpp", - "cmath": "cpp", - "compare": "cpp", - "concepts": "cpp", - "cstdarg": "cpp", - "cstddef": "cpp", - "cstdint": "cpp", - "cstdio": "cpp", - "cstdlib": "cpp", - "ctime": "cpp", - "cwchar": "cpp", - "cwctype": "cpp", - "deque": "cpp", - "string": "cpp", - "unordered_map": "cpp", - "vector": "cpp", - "exception": "cpp", - "algorithm": "cpp", - "functional": "cpp", - "iterator": "cpp", - "memory": "cpp", - "memory_resource": "cpp", - "numeric": "cpp", - "optional": "cpp", - "random": "cpp", - "string_view": "cpp", - "system_error": "cpp", - "tuple": "cpp", - "type_traits": "cpp", - "utility": "cpp", - "format": "cpp", - "initializer_list": "cpp", - "iosfwd": "cpp", - "iostream": "cpp", - "istream": "cpp", - "limits": "cpp", - "new": "cpp", - "numbers": "cpp", - "ostream": "cpp", - "span": "cpp", - "stdexcept": "cpp", - "streambuf": "cpp", - "text_encoding": "cpp", - "cinttypes": "cpp", - "typeindex": "cpp", - "typeinfo": "cpp", - "variant": "cpp", - "chrono": "cpp", - "ratio": "cpp", - "iomanip": "cpp", - "sstream": "cpp" + "*.tcc": "cpp" } } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 19afa6f..0fd5d23 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,38 +1,28 @@ { - "version": "2.0.0", "tasks": [ { - "label": "configure", - "type": "shell", - "command": "cmake", + "type": "cppbuild", + "label": "C/C++: g++ build active file", + "command": "/usr/bin/g++", "args": [ - "-G", - "Ninja", - "-B", - "${workspaceFolder}/mwe/ecs-homemade/build", // Create build folder here - "${workspaceFolder}/mwe/ecs-homemade" // Path to your source directory + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" ], - "group": { - "kind": "build", - "isDefault": false + "options": { + "cwd": "${fileDirname}" }, - "problemMatcher": [] - }, - { - "label": "build", - "type": "shell", - "command": "cmake", - "args": [ - "--build", - "${workspaceFolder}/mwe/ecs-homemade/build" // Build directory + "problemMatcher": [ + "$gcc" ], - "dependsOn": "configure", // Ensure the configure task runs first "group": { "kind": "build", "isDefault": true }, - "problemMatcher": ["$gcc"], - "detail": "Generated task for building the project." + "detail": "Task generated by Debugger." } - ] + ], + "version": "2.0.0" } |