tell vscode to treat our patch.<level> files as diffs

Change-Id: I770d97b409cd42b4ef697fbde352cb147fa3a995
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115807
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
This commit is contained in:
Christian Lohmaier 2021-05-19 15:29:26 +02:00
parent 950eb673b9
commit faf4dbc1aa

View file

@ -31,6 +31,9 @@
"/icon-themes/": true,
"/translations/": true
},
"files.associations": {
"*.patch.[0-9]": "diff"
},
// FIXME: arguably the generator should place it in the builddir, not srcdir
"C_Cpp.default.compileCommands": "${workspaceFolder:srcdir}/compile_commands.json",
// only used if the file doesn't match anything in the compile_commands.json - aka externals