PoC: Running extensions on the backend
Created by: felixfbecker
This is a Proof of Concept for running extensions on the backend. Not production ready (many TODOs), but easy from here to make it so.
It uses a Node service and Puppeteer to run the extension in an isolated headless Chromium instance (with one tab per extension).
As a demo it runs an extension and calls its hover provider, then logs the result.
Example use cases:
- Tapping into language server diagnostics & code actions (automatic refactorings) for automation
- Extending search through the extension API (e.g. see
registerSearchQueryTransformer
) so that the extension applies to the CLI too, not just the webapp
This is currently not planned to ship or on any roadmap. It is just to prove that it works and we can keep it in mind as a potential solution to upcoming problems