From 293e4be1e92b7e7c5c4109cddf777fdf01c1a35e Mon Sep 17 00:00:00 2001 From: iridiumR Date: Thu, 18 Nov 2021 20:44:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 11 +---------- workspace.code-workspace | 41 +++------------------------------------- 2 files changed, 4 insertions(+), 48 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e2e654a..3c823ba 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,16 +20,7 @@ "C_Cpp.errorSquiggles": "Disabled", // 因为有clang的lint,所以关掉 "C_Cpp.autocomplete": "Disabled", // 因为有clang的补全,所以关掉 - "clang.cflags": [ // 控制c语言静态检测的参数 - "--target=x86_64-w64-mingw", - "-std=c11", - "-Wall" - ], - "clang.cxxflags": [ // 控制c++静态检测时的参数 - "--target=x86_64-w64-mingw", - "-std=c++17", - "-Wall" - ], + "clang.completion.enable": true, "files.associations": { "iostream": "cpp", diff --git a/workspace.code-workspace b/workspace.code-workspace index fa62669..9c83e46 100644 --- a/workspace.code-workspace +++ b/workspace.code-workspace @@ -6,48 +6,13 @@ ], "settings": { "files.associations": { - "ctime": "cpp", "iostream": "cpp", - "new": "cpp", - "array": "cpp", - "atomic": "cpp", "*.tcc": "cpp", - "cctype": "cpp", - "clocale": "cpp", - "cmath": "cpp", - "cstdarg": "cpp", - "cstddef": "cpp", - "cstdint": "cpp", - "cstdio": "cpp", - "cstdlib": "cpp", - "cwchar": "cpp", - "cwctype": "cpp", - "deque": "cpp", - "unordered_map": "cpp", - "vector": "cpp", - "exception": "cpp", - "algorithm": "cpp", - "memory": "cpp", - "memory_resource": "cpp", - "optional": "cpp", "string": "cpp", "string_view": "cpp", - "system_error": "cpp", - "tuple": "cpp", - "type_traits": "cpp", - "utility": "cpp", - "fstream": "cpp", - "initializer_list": "cpp", - "iosfwd": "cpp", - "istream": "cpp", - "limits": "cpp", - "ostream": "cpp", "sstream": "cpp", "stdexcept": "cpp", - "streambuf": "cpp", - "typeinfo": "cpp" - }, - "files.encoding": "utf8" - }, - + "streambuf": "cpp" + } + } } \ No newline at end of file