MuseScore/.vscode/settings.json
+merlan #flirora 1d8fbff540 Add support for additional tools
This adds the following:

* A `compile_commands` target for the ninja_build.sh script.
  This generates a `compile_commands.json` file, which is used
  by tools such as clangd, in a new target directory called
  `build.tooldata`. Unity builds must be disabled for the database
  to be complete; see [this Discord comment by Casper Jeukendrup](https://discord.com/channels/818804595450445834/939880479887327302/1001483416753143818)
  for more info.
* Additionally, a configuration file for clangd has been created
  to tell it to find the file in the `build.tooldata` directory.
* Add a one-line change to the workspace settings for VSCode,
  telling it where to find the Uncrustify config.
2023-07-24 11:30:22 +03:00

53 lines
1.4 KiB
JSON

{
"files.associations": {
"array": "cpp",
"atomic": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"list": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"fstream": "cpp",
"functional": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"numeric": "cpp",
"optional": "cpp",
"ostream": "cpp",
"ratio": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"cinttypes": "cpp",
"type_traits": "cpp",
"tuple": "cpp",
"typeinfo": "cpp",
"utility": "cpp",
"memory": "cpp",
"qgroupbox": "cpp",
"qbytearray": "cpp",
"qcombobox": "cpp"
},
"cmake.buildDirectory": "${workspaceRoot}/build.debug",
"cmake.configureOnOpen": true,
"uncrustify.configPath.linux": "tools/codestyle/uncrustify_musescore.cfg"
}