ExecLens
Academic project · open-sourceIDE plugin for simulating function execution
A plugin that runs a function straight from the editor — no need to start the app or write a test: pick a function, fill its parameters in a form generated from the types, then inspect the return value, errors and execution path. Hexagonal architecture (ports & adapters) designed to extend to other IDEs and languages.
- IDE-agnostic core: simulation orchestrated behind ports (code navigation, instrumentation, runtime, mocks)
- TS/JS adapter built on the TypeScript compiler API: analyses the function under the cursor and its signature
- Parameter form generated automatically from the types (primitives, objects, arrays, tuples)
- Sandboxed execution in an isolated Node process, with timeout and cancellation
- VS Code extension with a Webview panel; shared event protocol (branch, call, return, throw, assign, externalCall)