Wraps a code selection in an "if" or "try/catch" block with proper indentation
This extension is patterned after IntelliJ's "Surround With..." command. It is based on and adds some bug fixes to this unsupported project.
Install from VS Code with
Select text to wrap with an
Slightly modified the generated code