mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 08:06:04 +00:00
parent
acaecbdc86
commit
efd8b0141e
2 changed files with 3 additions and 3 deletions
|
@ -914,8 +914,8 @@ async function openExplorerAndCreate(accessor: ServicesAccessor, isFolder: boole
|
|||
try {
|
||||
const resourceToCreate = resources.joinPath(folder.resource, value);
|
||||
await explorerService.applyBulkEdit([new ResourceFileEdit(undefined, resourceToCreate, { folder: isFolder })], {
|
||||
progressLabel: nls.localize('newBulkEdit', "New {0}", value),
|
||||
undoLabel: nls.localize('newBulkEdit', "New {0}", value)
|
||||
undoLabel: nls.localize('createBulkEdit', "Create {0}", value),
|
||||
progressLabel: nls.localize('creatingBulkEdit', "Creating {0}", value)
|
||||
});
|
||||
await refreshIfSeparator(value, explorerService);
|
||||
|
||||
|
|
|
@ -1074,7 +1074,7 @@ export class FileDragAndDrop implements ITreeDragAndDrop<ExplorerItem> {
|
|||
}
|
||||
|
||||
await this.explorerService.applyBulkEdit([new ResourceFileEdit(joinPath(target.resource, entry.name), undefined, { recursive: true })], {
|
||||
undoLabel: localize('overwrite', "Overwriting {0}", entry.name),
|
||||
undoLabel: localize('overwrite', "Overwrite {0}", entry.name),
|
||||
progressLabel: localize('overwriting', "Overwriting {0}", entry.name),
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue