ryu1kn / vscode-partial-diff

Visual Studio Code Extension. Take a diff of 2 parts of text(s)
https://marketplace.visualstudio.com/items?itemName=ryu1kn.partial-diff
MIT License
184 stars 15 forks source link

support extensionKind ui and workspace #74

Closed leighmcculloch closed 1 year ago

leighmcculloch commented 3 years ago

What

Indicate to VSCode that the extension can run in ui mode or in workspace mode.

Why

When using VSCode with remote containers support VSCode can run extensions locally where the UI is being displayed or remotely where the files live. Many extension can run in either location, although some extension can only run on the ui side and some can only run on the workspace side.

When an extension doesn't indicate where it can be run it always runs at the workspace side.

The partial diff extension can run either on the UI or on the workspace and I think it should really be up to the user to choose, by default running in the ui since it works perfectly fine locally with remote containers. The advantage of changing this and indicating it can run in both places is that when using remote dev containers the developer doesn't have to manually install the extension in the container to use it.

leighmcculloch commented 2 years ago

👋🏻 @ryu1kn

ryu1kn commented 2 years ago

Thank you very much for the contribution and so sorry to have noticed this so late :( I'm going to try this 👍

leighmcculloch commented 1 year ago

@ryu1kn How did it go?