get type(): undefined | "add" | "modify" | "delete"
Returns undefined | "add" | "modify" | "delete"
uri
get uri(): URI
Returns URI
Methods
apply
apply(contents?): Promise<void>
Parameters
Optionalcontents: string
Returns Promise<void>
ProtectedapplyChangesWithMonaco
applyChangesWithMonaco(contents?): Promise<void>
Applies changes using Monaco utilities, including loading the model for the base file URI,
setting the value to the intended state, and running code actions on save.
Returns true if the element has been fully initialized.