commit c09107d2916a4c4c5dc425e5b3f454f1686ad837
parent 41dfd646f1d86c454448e6f0629dfb2bcb9d0455
Author: Dave Townsend <dtownsend@oxymoronical.com>
Date: Fri, 17 Oct 2025 16:44:39 +0000
Bug 1992398: Add moz-src matching to terminal links config r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D267407
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/python/mozbuild/mozbuild/backend/mach_commands.py b/python/mozbuild/mozbuild/backend/mach_commands.py
@@ -180,6 +180,14 @@ def setup_vscode_or_vscodium(ide, command_context, interactive):
"regex": "\\b(D\\d+)\\b",
"uri": "https://phabricator.services.mozilla.com/$1",
},
+ {
+ "regex": "\\bmoz-src://\\w*/([^\\s:,\"'\\)\\}\\]>]+)(?:[\\s:,\"']+)(\\d+)",
+ "uri": "vscode://file${workspaceFolder}/$1:$2",
+ },
+ {
+ "regex": "\\bmoz-src://\\w*/([^\\s:,\"'\\)\\}\\]>]+)",
+ "uri": "vscode://file${workspaceFolder}/$1",
+ },
],
}