提交 48d37fc9 编写于 作者: J Johannes Rieken

some jsdoc #10659

上级 257ae9f7
......@@ -621,8 +621,29 @@ declare module 'vscode' {
//#region joh: https://github.com/Microsoft/vscode/issues/10659
export interface WorkspaceEdit {
/**
* Create a regular file.
*
* @param uri Uri of the new file..
* @param options Defines if an existing file should be overwritten or be ignored.
*/
createFile(uri: Uri, options?: { overwrite?: boolean, ignoreIfExists?: boolean }): void;
/**
* Delete a file or folder.
*
* @param uri The uri of the file that is to be deleted.
*/
deleteFile(uri: Uri): void;
/**
* Rename a file or folder.
*
* @param oldUri The existing file.
* @param newUri The new location.
* @param options Defines if existing files should be overwritten.
*/
renameFile(oldUri: Uri, newUri: Uri, options?: { overwrite?: boolean }): void;
// replaceText(uri: Uri, range: Range, newText: string): void;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册