From c6118a874f3904ace786b5af10b6b639760799bf Mon Sep 17 00:00:00 2001 From: EpochFlame <82550703+EpochFlame@users.noreply.github.com> Date: Wed, 2 Nov 2022 20:58:54 -0400 Subject: [PATCH] vscode configuration --- .gitignore | 2 +- .vscode/c_cpp_properties.json | 16 ++++++++++++++++ .vscode/extensions.json | 6 ++++++ .vscode/launch.json | 14 ++++++++++++++ .vscode/settings.json | 16 ++++++++++++++++ 5 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index cde34a7e..6c1f0656 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -.vscode +.vscode/*.log *.dat *.exe *.dll diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..6f044268 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/include" + ], + "cStandard": "c99", + "cppStandard": "c++98", + "intelliSenseMode": "linux-clang-x86", + "compilerPath": "", + "configurationProvider": "ms-vscode.makefile-tools" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..23658183 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "ms-vscode.cpptools", + "xaver.clang-format" + ] +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..e37b7e69 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "F5 Anything: Custom Command", + "type": "f5anything", + "request": "launch", + "command": "make -j" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..2964d635 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,16 @@ +{ + "[c]": { + "files.encoding": "shiftjis", + "editor.defaultFormatter": "xaver.clang-format" + }, + "[cpp]": { + "files.encoding": "shiftjis", + "editor.defaultFormatter": "xaver.clang-format" + }, + + "editor.tabSize": 4, + "files.associations": { + "source_location": "cpp", + "types.h": "c" + } +} \ No newline at end of file