Do native plugin variants mix with Eel?

I’m thinking about trying the new native plugin variants to cut down the size of a plugin, which bundles binaries for Linux, macOS and Windows.

I’m also migrating to Eel.
For that I’ll have to copy the binary supported by the EelMachine to it and to run it there.

But if I understand correctly, a native-variants plugin won’t have the binaries, which means that I cannot mix the two approaches (Eel support + native plugin variants at the same time).

Is that correct?

For native plugin variants you can expect that they target client at the moment, so in case you are going to deploy binaries you would need to include more versions to ZIPs. This is not completely true, but more universal approach that covers both RD setups and WSL/Docker where we do not have separate backend.

For instance, we decided to include linux arm64/x64 binaries always to some plugin distributions, so they can be deployed to WSL, Docker and Remote Hosts from Windows and Mac OS client.

It basically means that:

  • linux-x64 ZIP includes linux-x64 and linux-arm64
  • windows-x64 ZIP includes windows-x64 + linux-x64 and linux-arm64

Thanks!

And I suppose I should also bundle Linux binaries into a Mac ZIP because I can run a Linux Dev Container on Mac.

With these requirements, I’ll probably skip the native plugin variants, because I could only drop the Windows binaries from the Linux and Mac ZIPs, but nothing else.

For some bigger payloads it still makes sense, as one may include 3 binaries instead of 6.

Please take a look at lsp-integration-samples/plugins/lua-lsp-support at main · JetBrains/lsp-integration-samples · GitHub for suggested deployment means via EEL