FileWillCreateEvent
An event that is fired when files are going to be created.
To make modifications to the workspace before the files are created, call the {@linkcode FileWillCreateEvent.waitUntil waitUntil}-function with a thenable that resolves to a workspace edit.
Properties
Functions
Link copied to clipboard
Allows to pause the event until the provided thenable resolves.
Allows to pause the event and to apply a workspace edit.