From faf4dbc1aa97ffdfa7f610974b68975d2559884b Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Wed, 19 May 2021 15:29:26 +0200 Subject: tell vscode to treat our patch. files as diffs Change-Id: I770d97b409cd42b4ef697fbde352cb147fa3a995 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115807 Tested-by: Christian Lohmaier Reviewed-by: Christian Lohmaier --- .vscode/vs-code-template.code-workspace.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit