Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>format-on-more-keysNew to Visual Studio Code? Get it now.
format-on-more-keys

format-on-more-keys

Lailoken

|
124 installs
| (0) | Free
A VS Code extension to format C/C++/C#/Java -type code blocks when '}' is pressed.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Format On More Keys

Description

A VS Code extension to format C/C++/C#/Java -type code blocks when '}' is pressed

Installation

  1. Installed via Extensions Marketplace

Usage

  • Type any of the following characters in your code: }
  • The extension will automatically trigger the document selection/formatting commands.
  • For } it will trigger a format on a current block (including one line for the opening directive)

Features

  • Automatically formats code on typing specific characters.

Known Issues

  • If a } is typed inside a comment or string, then formatting may be applied to unknown regions.

License

MIT

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