Add "labels" to ApplyWorkspaceEditParams
mickaelistria opened this issue · 3 comments
mickaelistria commented
In order to easily use edits in place of commands here and there, and in order to provide nice labels in the undo/redo stack for operations provided by the LSP, it could be interesting to add an optional "label" field to Workspace and TextEdits.
dbaeumer commented
Makes sense.
dbaeumer commented
Instead of generically naming edits we should add a name to ApplyWorkspaceEditParams. This can then be used to construct a name for the Undo.
dbaeumer commented
Actually this was easy to address. So I added an optional name to the ApplyWorkspaceEditParams.