[Libreoffice-commits] core.git: .vscode/vs-code-template.code-workspace.in

Christian Lohmaier (via logerrit) logerrit at kemper.freedesktop.org
Wed May 19 13:41:17 UTC 2021


 .vscode/vs-code-template.code-workspace.in |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit faf4dbc1aa97ffdfa7f610974b68975d2559884b
Author:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
AuthorDate: Wed May 19 15:29:26 2021 +0200
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Wed May 19 15:40:33 2021 +0200

    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 at googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

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


More information about the Libreoffice-commits mailing list