files - always have "Revert File" enabled
"Revert File" can be used to force load a file from disk and as such is useful in any context.
This commit is contained in:
parent
d1d7b244e5
commit
5ac435e50c
1 changed files with 1 additions and 2 deletions
|
@ -596,8 +596,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
||||||
group: '6_close',
|
group: '6_close',
|
||||||
command: {
|
command: {
|
||||||
id: REVERT_FILE_COMMAND_ID,
|
id: REVERT_FILE_COMMAND_ID,
|
||||||
title: nls.localize({ key: 'miRevert', comment: ['&& denotes a mnemonic'] }, "Re&&vert File"),
|
title: nls.localize({ key: 'miRevert', comment: ['&& denotes a mnemonic'] }, "Re&&vert File")
|
||||||
precondition: DirtyEditorContext
|
|
||||||
},
|
},
|
||||||
order: 1
|
order: 1
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue