rcjsuen / dockerfile-language-service

Dockerfile language service for providing an API to create feature-rich Dockerfile editors in JavaScript.
MIT License
16 stars 2 forks source link

Change createWorkspaceEdit to computeCommandEdits #4

Closed rcjsuen closed 6 years ago

rcjsuen commented 6 years ago

Instead of generating the WorkspaceEdit for a command, we should just generate its necessary TextEdit[] instead. This will allow the edits to be used as regular changes or as versioned changes depending on what the language server needs.