Utility to create a replace snippet edit.
A range.
A snippet string.
A new snippet edit object.
Utility to create an insert snippet edit.
A position, will become an empty range.
A snippet string.
A new snippet edit object.
Create a new snippet edit.
A range.
A snippet string.
The range this edit applies to.
The snippet this edit will perform.
A snippet edit represents an interactive edit that is performed by the editor.
Note that a snippet edit can always be performed as a normal text edit. This will happen when no matching editor is open or when a workspace edit contains snippet edits for multiple files. In that case only those that match the active editor will be performed as snippet edits and the others as normal text edits.