Get the results of your or code right in your vscode.
Compatible with the major runtimes...
...and languages
Features
Real-time Code Execution
See the results of your code as you save the file, without the need to switch windows or execute your
script
separately.
Results during ongoing process
Show results for still running nodeJS code.
You want to get the results of your running server or setInterval? We got you covered (macOS and linux)
Use different runtimes
Easily switch between , and to run your scripts. We try our best to handle compatibility issues
for you.
Timetravel
Scrub through your code and see the exact order your code was executed. Especially useful for
understanding async code.
Support for all kind of Imports
Effortlessly import any Node module or other files from your project into your worksheet. Whether you
use CommonJS with require
or ESM with import, we got you covered.
async and top level await support
You can effortlessly test your asynchronous code using Promises but also
async/await.
Easy Activation
Just add //ts-worksheet or //ts-worksheet-with-variables to your file, and
you're
all set.
Per-Line activation
Just //? at the end of the lines you want to have the result shown.
Customisable
Change the colors and run behaviour yourself.
Usage
After installation, follow these simple steps to use the plugin:
Open a JavaScript or TypeScript file.
Add //ts-worksheet or //ts-worksheet-with-variables at the top of the file.
Start coding and save the file when you are ready! You'll see the output of your code directly in the editor.
ATTENTION: This is still an early version of the plugin. If you find any issues, Create an issue for it.
Feedback and Support
We value your feedback! If you encounter any issues or have suggestions for improvements, please feel free to reach out to us. Your input helps us make this tool even better for the developer community.