I’m pretty sure it’s possible to make it a plugin but i’m not plugin-aware enough to swear it.
This idea:
- you select the text to be wrapped
- you hit whatever shortcut assigned to smart wrapping
- you enter you the element to wrap the text in
- you hit enter
But it should be smart so:
- if you enter
, it closes with
in html files - if you enter /* it closes with */ in PHP files
- if you enter “”", it closes with “”" in py files
- it works with multiple selections so you can wrap several
- in one row
- etc