diff --git a/package.json b/package.json index da4aac6060..46d464a4f7 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "contribCommentThreadAdditionalMenu", "contribCommentsViewThreadMenus", "contribEditorContentMenu", + "contribMultiDiffEditorMenus", "contribShareMenu", "diffCommand", "fileComments", @@ -2389,6 +2390,18 @@ "when": "(resourceScheme == pr) || (resourcePath in github:viewedFiles) || (resourcePath in github:unviewedFiles)" } ], + "multiDiffEditor/resource/title": [ + { + "command": "pr.markFileAsViewed", + "group": "navigation", + "when": "resourceScheme != pr && resourceScheme != review && resourceScheme != filechange && resourcePath in github:unviewedFiles" + }, + { + "command": "pr.unmarkFileAsViewed", + "group": "navigation", + "when": "resourceScheme != pr && resourceScheme != review && resourceScheme != filechange && resourcePath in github:viewedFiles" + } + ], "editor/content": [ { "command": "pr.acceptMerge",