Tangential to this I've wondered if it's possible or advisable to have a utility to port VS Code plugins to a plugin that's compatible with the JetBrains IDEs.
https://github.com/lapce/lapce already says,
> Plugins can be written in programming languages that can compile to the WASI format (C, Rust, AssemblyScript)
so it sounds like they did that?
Text manipulation operations are fairly simple to define and can probably be abstracted away into some generic API. Then writing generic text manipulation plugins should be very doable.
The complexity comes with project management, multiple files, build actions, etc. But you could define language specific sub-interfaces and the plugins would implement them. So a C++ plugin would understand CMake files for example.
I mean that's basically the biggest selling-point of plugin-systems today. Not that you can write your own functions to do something, but how well you can integrate it into the interface and deliver your own interface to enhance the app. And another part would be safe interaction with other plugins, and necessary package-managment.
No one understands CMake files
Maybe the neovim-people could get together with other projects, start some group, project, whatever to discuss this further? Of maybe something like this already exists?
Jokes aside, there are so many cool standards for doing stuff it's a shame we seem to reinvent the wheel over and over again.
The bonus is this should be really fast and it doesn't even require any codec or message copying.