title:nls.localize('compareWithSaved',"Compare with Saved")
}
},
when:EditorFocusedInOpenEditorsContext
});
CommandsRegistry.registerCommand({
...
...
@@ -348,7 +371,8 @@ function registerFileCommands(): void {
command:{
id:SELECT_FOR_COMPARE_COMMAND_ID,
title:nls.localize('compareSource',"Select for Compare")
}
},
when:EditorFocusedInOpenEditorsContext
});
CommandsRegistry.registerCommand({
...
...
@@ -374,7 +398,8 @@ function registerFileCommands(): void {
command:{
id:COMPARE_RESOURCE_COMMAND_ID,
title:nls.localize('compareWithChosen',"Compare With Chosen")
}
},
when:EditorFocusedInOpenEditorsContext
});
CommandsRegistry.registerCommand({
...
...
@@ -428,7 +453,8 @@ function registerFileCommands(): void {
command:{
id:COPY_PATH_COMMAND_ID,
title:nls.localize('copyPath',"Copy Path")
}
},
when:EditorFocusedInOpenEditorsContext
});
CommandsRegistry.registerCommand({
...
...
@@ -460,6 +486,133 @@ function registerFileCommands(): void {
command:{
id:REVEAL_IN_EXPLORER_COMMAND_ID,
title:isWindows?nls.localize('revealInWindows',"Reveal in Explorer"):isMacintosh?nls.localize('revealInMac',"Reveal in Finder"):nls.localize('openContainer',"Open Containing Folder")