1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
| { "files.defaultLanguage": "cpp", "editor.formatOnType": true, "files.autoSave": "onFocusChange", "editor.formatOnSave": true, "editor.formatOnPaste": true, "editor.acceptSuggestionOnEnter": "on", "editor.minimap.enabled": true, "C_Cpp.autocomplete": "default", "[cpp]": { "editor.quickSuggestions": { "comments": "on", "strings": "on", "other": "on" }, "editor.wordBasedSuggestions": "matchingDocuments", "editor.formatOnType": true, }, "[c]": { "editor.quickSuggestions": { "comments": "on", "strings": "on", "other": "on" }, "editor.wordBasedSuggestions": "matchingDocuments", "editor.formatOnType": true, }, "code-runner.runInTerminal": true, "code-runner.executorMap": { "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt.exe -Wall -g -O2 -static-libgcc -std=c17 -fexec-charset=UTF-8 && $dir$fileNameWithoutExt", "cpp": "clear && cd $dir && g++ $fileName -o $fileNameWithoutExt.exe -Wall -g -O2 -static-libgcc -fexec-charset=GBK -std=c++17 && $dir$fileNameWithoutExt" }, "code-runner.saveFileBeforeRun": true, "code-runner.preserveFocus": true, "code-runner.clearPreviousOutput": false, "code-runner.ignoreSelection": true, "C_Cpp.clang_format_sortIncludes": true, "files.associations": { "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", "iostream": "cpp", "istream": "cpp", "limits": "cpp", "new": "cpp", "ostream": "cpp", "sstream": "cpp", "stdexcept": "cpp", "streambuf": "cpp", "typeinfo": "cpp" }, }
|