Stream: general

Topic: VS Code WIT extension


view this post on Zulip Robin Brown (Aug 28 2023 at 19:45):

I can't find an official publication of the https://github.com/bytecodealliance/vscode-wit extension on the VS Code marketplace.

Two extensions come up when you search for "ext:wit"

  1. "WebAssembly Toolkit for VSCode" which is listed as published by the "WebAssembly Foundation" (who/what is this?)
  2. "WIT (WebAssembly Interface Types)" by a Dave Bakker

Is there an official release that I'm not finding or are does the BA not yet have an official verified release on the marketplace?
It'd be great to have an official & verified extension going into the Componentize the World event it's obvious what people should use if they want to edit .wit files.

Visual Studio Code extension to recognize and highlight the WebAssembly Interface Type (WIT) IDL. - GitHub - bytecodealliance/vscode-wit: Visual Studio Code extension to recognize and highlight the...

view this post on Zulip Ralph (Aug 28 2023 at 19:47):

you have to register it on the marketplace for it to be there. tons of dev oriented ones are .vsix installations only

view this post on Zulip Ralph (Aug 28 2023 at 19:47):

wamr for example is also not on the marketplace iirc

view this post on Zulip Ralph (Aug 28 2023 at 19:48):

the 1. you found is actually wasmer trying to corner the market on webassembly several years back

view this post on Zulip Ralph (Aug 28 2023 at 19:52):

yeah, https://marketplace.visualstudio.com/items?itemName=dtsvet.vscode-wasm is really https://github.com/wasmerio/vscode-wasm.git

Extension for Visual Studio Code - WebAssembly Toolkit for VSCode
WebAssembly extension for VSCode. Contribute to wasmerio/vscode-wasm development by creating an account on GitHub.

view this post on Zulip Ralph (Aug 28 2023 at 19:53):

using this as an example, wasmer grabbed the publisher name and now that's what it is

view this post on Zulip Ralph (Aug 28 2023 at 19:54):

so here, to expand on that example, the TSC takes the Bytecode Alliance Foundation name in the vscode marketplace, and then it can publish any number of extensions underneath that banner

view this post on Zulip Ralph (Aug 28 2023 at 19:55):

https://github.com/bytecodealliance/vscode-wit is perfect for that route

Visual Studio Code extension to recognize and highlight the WebAssembly Interface Type (WIT) IDL. - GitHub - bytecodealliance/vscode-wit: Visual Studio Code extension to recognize and highlight the...

view this post on Zulip Ralph (Aug 28 2023 at 19:56):

and I'm wrong!!! wamr is in there: https://marketplace.visualstudio.com/items?itemName=wamr-ide.wamride

Extension for Visual Studio Code - An Integrated Development Environment for WASM

view this post on Zulip Ralph (Aug 28 2023 at 19:57):

although I see how to use it or install it is a bit different than usual

view this post on Zulip Ralph (Aug 28 2023 at 19:58):

Step 1: someone register Bytecode Alliance Foundation at the marketplace. :-)

view this post on Zulip Ralph (Aug 28 2023 at 19:58):

OR register the repo name, however you think it best

view this post on Zulip Eduardo Rodrigues (Aug 28 2023 at 20:07):

we do have an issue for that in the repo: https://github.com/bytecodealliance/vscode-wit/issues/2

We need to follow this documentation to package and publish the extension to the Visual Studio Marketplace. Create VSTS organization for the bytecodealliance publisher: https://dev.azure.com/byteco...

view this post on Zulip David Bryant (Aug 28 2023 at 22:08):

I was in a discussion with Bailey and Till about this last week, including the intention to publish the extension to the Visual Studio Marketplace prior to "Componentize the World" on September 8th so that is the plan. We've worked through most of the mechanisms required in publishing the extension (e.g,. setting up Bytecode Alliance Organization and Publisher entities within Marketplace).

view this post on Zulip Eduardo Rodrigues (Sep 02 2023 at 19:58):

Thanks to @Till Schneidereit we have the WIT IDL extension in the Visual Studio Marketplace

view this post on Zulip Ralph (Sep 03 2023 at 13:19):

https://twitter.com/ralph_squillace/status/1698324767051227358?s=20

view this post on Zulip Ramon Klass (Sep 03 2023 at 13:21):

(more or less unrelated but I was astonished yesterday when I randomly opened a wit file in helix and it has syntax highlighting, I did not expect that out of the box)


Last updated: Dec 23 2024 at 12:05 UTC