-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: toggle document #21
Comments
That's tricky because Toggle Quotes only seems to work if the select text is exactly between a pair of quotes and not if the selected text includes the quotes. If I try That won't work because the match includes the quotes and Toggle Quotes won't accept that If I try That won't work because of the text outside the quotes that still gets recognized as being between quotes ( Finally, I came across this solution: It works only for one type of quote at a time, and it's still much more complicated than the other expressions. Would it be possible for the Toggle Quotes extension to be more lenient with what particular text needs to be selected? |
interesting. I understand the regex challenge. The issue is that the "ignore selected" text is by design to allow a simple and custom way to "exclude" some text from the toggle change. Now, perhaps, you can split it two steps. First get names |
Could Toggle Quotes be split into two commands, "Toggle Quotes: Surrounding" and "Toggle Quotes: Within"? It seems like the "within" option would be even easier to implement than the original "surrounding" option, and it would give us the ability to select all and then toggle quotes for the whole document. |
This is a good idea. I added at #22. |
If I have a JSON document that is entirely single-quoted and I need to make it double-quoted, I'd have to select every property name and value one at a time. If that's outside the scope of this extension, is there another extension that could toggle quotes for the whole document?
The text was updated successfully, but these errors were encountered: