diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2021-05-19 15:29:26 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2021-05-19 15:40:33 +0200 |
commit | faf4dbc1aa97ffdfa7f610974b68975d2559884b (patch) | |
tree | 34c225aa44fa24e20d44d8069ea414c2386b2a58 /.vscode | |
parent | tdf#76258 Fix color filter popup position (diff) | |
download | core-faf4dbc1aa97ffdfa7f610974b68975d2559884b.tar.gz core-faf4dbc1aa97ffdfa7f610974b68975d2559884b.zip |
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>
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/vs-code-template.code-workspace.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.vscode/vs-code-template.code-workspace.in b/.vscode/vs-code-template.code-workspace.in index e86cecae4c80..5839525df7be 100644 --- a/.vscode/vs-code-template.code-workspace.in +++ b/.vscode/vs-code-template.code-workspace.in @@ -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 |