Skip to content

Commit 1dc2f73

Browse files
committed
some more jsdoc, microsoft#43768
1 parent 9e899b5 commit 1dc2f73

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/vs/vscode.proposed.d.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,8 +883,34 @@ declare module 'vscode' {
883883

884884
export namespace workspace {
885885

886+
/**
887+
* An event that is emitted when files are being created.
888+
*
889+
* *Note* that this event is triggered by user gestures, like creating a file from the
890+
* explorer, or from the [`workspace.applyEdit`](#workspace.applyEdit)-api. This event is *not* fired when
891+
* files change on disk, e.g triggered by another application, or when using the
892+
* [`workspace.fs`](#FileSystem)-api.
893+
*/
886894
export const onWillCreateFiles: Event<FileWillCreateEvent>;
895+
896+
/**
897+
* An event that is emitted when files are being deleted.
898+
*
899+
* *Note* that this event is triggered by user gestures, like deleting a file from the
900+
* explorer, or from the [`workspace.applyEdit`](#workspace.applyEdit)-api. This event is *not* fired when
901+
* files change on disk, e.g triggered by another application, or when using the
902+
* [`workspace.fs`](#FileSystem)-api.
903+
*/
887904
export const onWillDeleteFiles: Event<FileWillDeleteEvent>;
905+
906+
/**
907+
* An event that is emitted when files are being renamed.
908+
*
909+
* *Note* that this event is triggered by user gestures, like renaming a file from the
910+
* explorer, and from the [`workspace.applyEdit`](#workspace.applyEdit)-api. This event is *not* fired when
911+
* files change on disk, e.g triggered by another application, or when using the
912+
* [`workspace.fs`](#FileSystem)-api.
913+
*/
888914
export const onWillRenameFiles: Event<FileWillRenameEvent>;
889915

890916
export const onDidCreateFiles: Event<FileCreateEvent>;

0 commit comments

Comments
 (0)