Skip to content
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] Quote Command #102

Open
MAGNAT2645 opened this issue Jun 9, 2021 · 3 comments
Open

[Feature Request] Quote Command #102

MAGNAT2645 opened this issue Jun 9, 2021 · 3 comments

Comments

@MAGNAT2645
Copy link

I think this command (and its hotkey of course) would be useful. You could select text which you want to quote with "".
With this it will be faster to create strings.

@Timocop
Copy link
Owner

Timocop commented Jun 12, 2021

Im thinking maybe we don't need a hotkey for it. Why not just quote selected text when pressing " on the keyboard.

@MAGNAT2645
Copy link
Author

Idk, Text Editors are supposed to replace selected text with what you're typing.
But idea is not bad.

@Hexer10
Copy link

Hexer10 commented Jun 30, 2021

I think this should be extended to other characters as well, such as the single quote, bracket, braces, parenthesis and backtick.
So when selected a block of text is would be surrounded (like vscode or idea already do):

"text"
'text'
(text)
[text]
{text}
`text`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants