Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Wrap in FragmentNew to Visual Studio Code? Get it now.
Wrap in Fragment

Wrap in Fragment

Ayc0

|
249 installs
| (1) | Free
Quickly wrap the current selection in a Fragment
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Wrap text in Fragment for Visual Studio Code

Install

Launch VS Code Quick Open (Ctrl/Cmd+P), paste the following command, and press enter.

ext install wrap-in-fragment

Commands

  • extension.wrapInFragment.run: Wrap selection in a Fragment

Configuration

  • extension.wrapInFragment.fragmentFactory: Customize how the Fragment should be rendered: <> or <React.Fragment>, etc.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft