Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RunCodeBlockNew to Visual Studio Code? Get it now.
RunCodeBlock

RunCodeBlock

José Lucas R. Santos

|
1,641 installs
| (0) | Free
Runs the code between a pair of comments.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Run Code Block README

This tool is for educational purposes, primarily for use in lectures.

Features

Run the code between two comments using CodeLens.

CodeLensButtons

Context Menu

Tip: Use snippets or the context menu to generate the Start and End comments faster.

  • startcb: // Start-Block.
  • endcb: // End-Block.
  • codeblock: Creates both at the same time.

Requirements

vscode: 1.66.0

Supported Languages

  • Javascript - node
  • Typescript - ts-node

Release Notes

1.0.1

Quality of life improvements.

1.0.0

Initial release of Run Code Block.


Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft