From fdc19e7f192bf13d02d174b55635a044c0e20b4f Mon Sep 17 00:00:00 2001 From: Hunt Lin Date: Tue, 3 Nov 2020 13:01:10 +0800 Subject: [PATCH] Added vscode support --- .vscode/c_cpp_properties.json | 22 ++++++++++++++++++++++ .vscode/settings.json | 8 ++++++++ 2 files changed, 30 insertions(+) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..3061b2e8 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,22 @@ +{ + "configurations": [ + { + "name": "Win32", + "includePath": [ + "${default}" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "windowsSdkVersion": "10.0.19041.0", + "compilerPath": "C:/msys64/mingw64/bin/cc.exe", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "gcc-x64", + "compileCommands": "${workspaceFolder}/x/compile_commands.json" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..8cd38035 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.associations": { + "*.tcc": "c", + "random": "c", + "ostream": "c", + "streambuf": "c" + } +} \ No newline at end of file