A VS Code extension to format C/C++/C#/Java -type code blocks when '}' is pressed
- Installed via Extensions Marketplace
- 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)
- Automatically formats code on typing specific characters.
- If a } is typed inside a comment or string, then formatting may be applied to unknown regions.
MIT