Open zjkmxy opened 5 months ago
May refer to this project: https://github.com/kainzpat14/code-collab
Brief:
edit
TextDocumentChangeEvent
vscode.workspace.onDidChangeTextDocument
setDecorations
zjkmxy/ndn-workspace-vscode
I think this would be a great way to run NDN workspace on other projects, and make use of VSCode's plugins. If possible, we should also make this plugin usable.
May refer to this project: https://github.com/kainzpat14/code-collab
Brief:
edit
to propagate remote edits.TextDocumentChangeEvent
to capture local changes. Attach the listener byvscode.workspace.onDidChangeTextDocument
.setDecorations
to set awareness