提交 2e9c9db0 编写于 作者: J Johannes Rieken

clarify that you cannot modify documents/files before that are created, #43768

上级 5c372215
......@@ -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>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册