wasmerio / webassembly.sh

Open-source and installable PWA terminal powered by WebAssembly, WAPM, and Wasmer-JS 🖥
https://webassembly.sh
MIT License
288 stars 31 forks source link

Integration with vscode.dev #121

Open nokotan opened 1 year ago

nokotan commented 1 year ago

WebAssembly.sh in vscode integrated terminals will be great experience to WAPM users. I have concept implementation in the following repository, and the extension is also available in VSCode marketplace.

The extension provides these functionalities:

Repository: https://github.com/nokotan/wasm-playground/tree/main/wasm-playground MarketPlace: https://marketplace.visualstudio.com/items?itemName=KamenokoSoft.wasm-playground

I know that WebAssembly.sh uses older version of wasmer-js, and want to migrate to new version of it.

martin12333 commented 1 year ago

this is beautiful

it really works - after some tweaking

https://insiders.vscode.dev/?vscode-coi

wapm install coreutils

A next dream project could be: vscode f8 runSelectedText in vscode.dev

// i mean ... like in C:\Users\*\AppData\Roaming\Code\User\keybindings.json

{
        "key": "f8",
        "command": "workbench.action.terminal.runSelectedText",
        "when": "editorTextFocus"
},