vscode-vlang icon indicating copy to clipboard operation
vscode-vlang copied to clipboard

The 'V' extension is not available in VS Code Web.

Open metif12 opened this issue 4 years ago • 4 comments

image now in github when you press . the vscode editor will be open and support extensions. but v extension cant be install yet

metif12 avatar Aug 13 '21 07:08 metif12

There are a small number of extensions that have built-in assumptions or need to run on the desktop. Examples are when an extension accesses files from the VS Code installation on the desktop or when an extension depends on an executable that must run in a desktop environment. When you try to install such an extension in the browser, you will be informed that the extension is not available. https://code.visualstudio.com/docs/remote/codespaces#_why-is-an-extension-not-installable-in-the-browser

Hi @metif12 ! The V extension relies on executables such as VLS to provide the best experience hence the reason why GitHub codespaces does not support this extension yet.

nedpals avatar Aug 13 '21 08:08 nedpals

There are a small number of extensions that have built-in assumptions or need to run on the desktop. Examples are when an extension accesses files from the VS Code installation on the desktop or when an extension depends on an executable that must run in a desktop environment. When you try to install such an extension in the browser, you will be informed that the extension is not available. https://code.visualstudio.com/docs/remote/codespaces#_why-is-an-extension-not-installable-in-the-browser

Hi @metif12 ! The V extension relies on executables such as VLS to provide the best experience hence the reason why GitHub codespaces does not support this extension yet.

Can we compile it to jsbackend?!

metif12 avatar Aug 13 '21 08:08 metif12

There are a small number of extensions that have built-in assumptions or need to run on the desktop. Examples are when an extension accesses files from the VS Code installation on the desktop or when an extension depends on an executable that must run in a desktop environment. When you try to install such an extension in the browser, you will be informed that the extension is not available. https://code.visualstudio.com/docs/remote/codespaces#_why-is-an-extension-not-installable-in-the-browser

Hi @metif12 ! The V extension relies on executables such as VLS to provide the best experience hence the reason why GitHub codespaces does not support this extension yet.

Can we compile it to jsbackend?!

@metif12 Unfortunately no because VLS uses C libraries. Compiling it to WebAssembly is possible but not recommended ATM.

nedpals avatar Aug 13 '21 08:08 nedpals

So finally we will do this and make extension work on web too. Thanks

metif12 avatar Aug 13 '21 08:08 metif12