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