Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JetBrains Region CommentsNew to Visual Studio Code? Get it now.
JetBrains Region Comments

JetBrains Region Comments

benyuanzhang

| (0) | Free
Recognize JetBrains-style //region / //endregion folding comments in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JetBrains Region Comments

Recognize JetBrains-style //region / //endregion folding comments in VS Code.

Supported Markers

Style Languages
// region / // endregion JS, TS, Java, Go, Rust, Kotlin, Dart, C/C++
//#region / //#endregion C# style
# region / # endregion Python, Ruby, YAML
<!-- region --> / <!-- endregion --> HTML, XML, Vue
/* region */ / /* endregion */ CSS, SCSS, Less

Usage

Simply open a file with region comments, and VS Code will show folding markers automatically.

Contributors

  • opencode
  • deepseek-v4-pro
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft