Launch VS Code Quick Open (Ctrl/Cmd+P), paste the following command, and press enter.
ext install wrap-in-fragment
extension.wrapInFragment.run
: Wrap selection in a Fragment
extension.wrapInFragment.fragmentFactory
: Customize how the Fragment should be rendered:<>
or<React.Fragment>
, etc.