-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsettings.json.defaults
132 lines (131 loc) · 3.77 KB
/
settings.json.defaults
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
// Default tab size of 2, for consistency with internal codebase.
"editor.tabSize": 2,
// Do not figure out tab size from opening a file.
"editor.detectIndentation": false,
// Add a line at 80 characters.
"editor.rulers": [
80
],
// Forces LF instead of "auto" which uses CRLF on Windows.
"files.eol": "\n",
// Trim tailing whitespace on save.
"files.trimTrailingWhitespace": true,
// Insert trimmed final new line.
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.associations": {
// Adds xml syntax highlighting for grd files.
"*.grd": "xml",
// Optional: .gn and .gni are not JavaScript, but at least it gives some
// approximate syntax highlighting. Ignore the linter warnings!
// There's an extension for these files, excluding the linter headaches.
// https://marketplace.visualstudio.com/items?itemName=npclaudiu.vscode-gn
"*.gni": "gn",
"*.gn": "gn",
// Generated by VSCode.
"*.ipp": "cpp",
"iosfwd": "cpp",
"string": "cpp",
"algorithm": "cpp",
"array": "cpp",
"atomic": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"cmath": "cpp",
"concepts": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"deque": "cpp",
"exception": "cpp",
"fstream": "cpp",
"functional": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iostream": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"list": "cpp",
"locale": "cpp",
"map": "cpp",
"memory": "cpp",
"new": "cpp",
"ostream": "cpp",
"random": "cpp",
"ratio": "cpp",
"regex": "cpp",
"set": "cpp",
"sstream": "cpp",
"stack": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"utility": "cpp",
"vector": "cpp",
"xfacet": "cpp",
"xhash": "cpp",
"xiosbase": "cpp",
"xlocale": "cpp",
"xlocbuf": "cpp",
"xlocinfo": "cpp",
"xlocmes": "cpp",
"xlocmon": "cpp",
"xlocnum": "cpp",
"xloctime": "cpp",
"xmemory": "cpp",
"xstddef": "cpp",
"xstring": "cpp",
"xtr1common": "cpp",
"xtree": "cpp",
"xutility": "cpp",
"condition_variable": "cpp",
"mutex": "cpp",
"numeric": "cpp",
"queue": "cpp"
},
"files.exclude": {
// Ignore build output folders.
"out*/**": true
},
"files.watcherExclude": {
// Don't watch out*/ and third_party/ for changes to fix an issue
// where vscode doesn't notice that files have changed.
// https://github.com/Microsoft/vscode/issues/3998
// There is currently another issue that requires a leading **/ for
// watcherExlude. Beware that this pattern might affect other out* folders
// like src/cc/output/.
"**/out*/**": true,
"**/third_party/**": true
},
// C++ clang format settings. |workspaceFolder| is assumed to be Chromium's
// src/ directory.
// "C_Cpp.clang_format_path": "${workspaceFolder}/third_party/depot_tools/clang-format",
"C_Cpp.clang_format_sortIncludes": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
// GPGMM: Github Actions: pins workflow status in status bar.
"github-actions.workflows.pinned.workflows": [
".github/workflows/win_clang_dbg_x64.yaml",
".github/workflows/win_clang_rel_x64.yaml"
],
"github-actions.workflows.pinned.refresh.enabled": true,
"github-actions.workflows.pinned.refresh.interval": 65,
// Allow GPGMM internal tests to build.
"cmake.configureArgs": [
"-DBUILD_SHARED_LIBS:BOOL=FALSE"
]
}