Skip to content

Auto-pair single quotes on selections #441

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

An-dz
Copy link

@An-dz An-dz commented Aug 8, 2020

This "re-adds" the ability to auto-pair single quotes when you have some text selected.

Sometimes I forget to quote the letter and on C++ code I generally just press Shift+Left followed by ' to quote the char, but on Rust Enhanced this does not work. I know I can backspace and press ' followed by the char, but my muscle memory has the former.

I understand the idea that it should not auto-pair because it's used as the lifetime label and that's why this only adds the ability when the text is selected.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant