This handy extension empowers you to modify the surrounding context of specific text segments effortlessly. It effortlessly transforms double quotes into single quotes and vice versa, enhancing flexibility in your writing. Additionally, it seamlessly converts curly braces to regular parentheses and vice versa, enriching your text manipulation options.
With range selection | Without selection | ||
---|---|---|---|
"xyz" | ⟶ | 'xyz' | 'xyz' |
'xyz' | ⟶ | "xyz" | "xyz" |
(xyz) | ⟶ | {xyz} | {{xyz}} |
{xyz} | ⟶ | (xyz) | |
{{xyz}} | ⟶ | ({xyz}) | (xyz) |
This extension supports two modes of utilization.
Select your desired range of text surrounded by {{
, (
, '
or "
. Then, simply press Ctrl+Shift+P
and type Switch Quotes
. Done!
Just put your cursor anywhere in your code, trigger the Switch Quotes
command as before, and let the extension figure it out for you.
No known issues, yet.
Initial release