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

FormatBlock

Nimish Gupta

|
117 installs
| (0) | Free
This extension will help in adding the new lines among the blocks so that code can look nicely.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

formatblock

This extension helps in formatting the code within the blocks. This extension will add new lines in the block so that can be easily read and understood by the developer. This helps in debugging the code as the code will not look congested.

Features

This function can be used either calling Format Block from the command palete or on auto save.

Code examples before and after formatting

const test = () => {
  const first = '1';
  const second = '2'
  const add = (a, b) => {
    return a + b;
  }
  add(first, second);
}

after

const test = () => {
  const first = '1';
  const second = '2'

  const add = (a, b) => {
    return a + b;
  }

  add(first, second);
}

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release of format block extension

Issues

You can create issue here, New Issue format block

Reach out

Github nimish-gupta Twitter nimishrocks2 Personnel Site

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