vfox icon indicating copy to clipboard operation
vfox copied to clipboard

[Feature]: Add vfox plugin impl of `WebAssembly/binaryen`

Open linghengqian opened this issue 6 months ago • 0 comments

1. Your usage scenarios?

  • Okay, I'm not sure if I should file this issue at https://github.com/version-fox/vfox-plugins or https://github.com/version-fox/vfox .
  • Starting with Oracle GraalVM Early Access Builds For JDK 25.0.0-ea.24, GraalVM Native Image can be compiled to a .wasm file instead of a .exe file on Windows. Although I can install Oracle GraalVM Early Access Builds For JDK 25.0.0-ea.24 via vfox,
vfox add java
vfox install [email protected]
vfox use --global [email protected]
winget install --id Microsoft.VisualStudio.2022.Community
# Install the native toolchain in the `Visual Studio Installer` application according to the GraalVM CE doc
  • But according to https://github.com/graalvm/graalvm-demos/tree/master/native-image/wasm-javac and https://github.com/oracle/graal/issues/3391 , I also have to download the compiled product of WebAssembly/binaryen and put its bin directory on the Windows PATH. It sounds like after I downloaded the compiled product of binaryen from https://github.com/WebAssembly/binaryen/releases/download/version_123/binaryen-version_123-x86_64-windows.tar.gz , I had to do something like this in PowerShell 7,
$Env:PATH += ';C:\Users\lingh\Downloads\binaryen-version_123-x86_64-windows\binaryen-version_123\bin'
  • Considering the update frequency of WebAssembly/binaryen at https://github.com/WebAssembly/binaryen/releases, it is troublesome to maintain different versions of binaryen in PATH. If there is a vfox plugin implementation of WebAssembly/binaryen, it will obviously simplify the process of switching different versions of WebAssembly/binaryen.

2. What is your expected outcome?

  • Add vfox plugin impl of WebAssembly/binaryen.
  • I actually have no experience with lua, so I'm not sure how much I can help. It seems that Lua does not have official IntelliJ IDEA plugin support, and vfox does not provide Lua plugin impl?

linghengqian avatar May 31 '25 15:05 linghengqian