![]()
cmd ' (ctrl ' on win/linux) will cycle the first quote pair found (from the start/end of the section) through the following sequence:
" to ' to ` " to '</>, [/], «/» etc. (thanks to @dirondin )IMPORTANT: By design, what is selected will be ignored by the toggle logic, and the quote match will be from the start and end of the selection. This allows dead-simple code and maximum user flexibility to select what needs to be excluded. So the toggle will start to find the matching from the start and end of the selection.
For example, assuming [ is start of selection and ] end of selection.
example "with s[ome other] text" and more
<-- -->
The quote match will happen from start selection going left and end selection going right. Toggle Quotes support multiple selections applying the same rule for each.
" to ' to ` " to '"configurationDefaults": {
"[csharp]": {
"togglequotes.chars": ["\"","'","`"]
},
"[freemarker]": {
"togglequotes.chars": [["<",">"],["[","]"]]
}
}
$ claude mcp add vscode-toggle-quotes \
-- python -m otcore.mcp_server <graph>