Convert delimiters
I like how when you are editing HTML, changing a tag automatically changes the matching tag.
Is there a way of doing the same thing with matching delimiters? E.g. I often find myself changing a literal string delimited with single or double quotes into a backtick-delimited tempate literal string.
Please sign in to leave a comment.
Please vote for https://youtrack.jetbrains.com/issue/IDEA-130326 to be notified on any progress with this feature.
You can use intentions here - put cursor on your string, hit `Alt+Enter`, choose "Replace with template string" to change quotes to backticks or "Replace single-quoted string with double-quoted string" (or vice versa) to change quotes style
Thanks, Elena, and thanks for linking to that issue! That's going the extra support mile. BTW: s/cursot/cursor/ (to aid future searches, perhaps).
Thanks, fixed the typo:)