BasicPawn icon indicating copy to clipboard operation
BasicPawn copied to clipboard

[Feature Request] Quote Command

Open MAGNAT2645 opened this issue 3 years ago • 3 comments

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.

MAGNAT2645 avatar Jun 09 '21 07:06 MAGNAT2645

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

Timocop avatar Jun 12 '21 10:06 Timocop

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

MAGNAT2645 avatar Jun 12 '21 10:06 MAGNAT2645

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`

Hexer10 avatar Jun 30 '21 10:06 Hexer10