summaryrefslogtreecommitdiff
path: root/.vscode/settings.json
blob: a4ee63fb468ce1d1a7b3fc526d776f1049d2d8ce (plain)
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
{
  "[c]": {
    "files.encoding": "utf8",
    "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
  },
  "[cpp]": {
    "files.encoding": "utf8",
    "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
  },
  "[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter"
  },
  "editor.tabSize": 4,
  // "files.autoSave": "onFocusChange",
  "files.insertFinalNewline": true,
  "files.trimFinalNewlines": true,
  "files.associations": {
    "*.inc": "cpp",
    "*.pch": "cpp",
    "*.pch++": "cpp",
    ".clangd": "yaml",
  },
  // Disable C/C++ IntelliSense, use clangd instead
  "C_Cpp.intelliSenseEngine": "disabled",
  "search.useIgnoreFiles": false,
  "search.exclude": {
    "build/*/config.json": true,
    "build/*/report.json": true,
    "build/*/report_changes.json": true,
    "build/*/baseline.json": true,
    "build/**/*.MAP": true,
    "build/**/*.o": true,
    "build/**/*.plf": true,
    "build/**/*.rel": true,
    "orig/**/*.rel": true,
    "build/**/*.lcf": true,
    "build/**/*.preplf": true,
    "build/**/*.d": true,
    "build/**/*.s": true,
    "build/**/*.map": true,
    "build/**/*.cpp": true,
    "build/**/*.ctx": true,
    "build.ninja": true,
    ".ninja_*": true,
    "objdiff.json": true,
    ".cache/**": true,
    "compile_commands.json": true,
  },
  "clangd.arguments": [
      "--function-arg-placeholders=0",
      "-header-insertion=never",
      // "--log=verbose",
  ],
  "clangd.detectExtensionConflicts": true,
}