Skip to content

Commit

Permalink
clarify that you cannot modify documents/files before that are created,
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 19, 2019
1 parent 5c37221 commit 2e9c9db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,10 +888,12 @@ declare module 'vscode' {
/**
* An event that is emitted when files are being created.
*
* *Note:* This event is triggered by user gestures, like creating a file from the
* *Note 1:* This event is triggered by user gestures, like creating a file from the
* explorer, or from the [`workspace.applyEdit`](#workspace.applyEdit)-api. This event is *not* fired when
* files change on disk, e.g triggered by another application, or when using the
* [`workspace.fs`](#FileSystem)-api.
*
* *Note 2:* When this event is fired, edits to files thare are being created cannot be applied.
*/
export const onWillCreateFiles: Event<FileWillCreateEvent>;

Expand Down

0 comments on commit 2e9c9db

Please sign in to comment.