Feature Request: type bracket to surround selected text
-
Feature Request: type bracket to surround selected text.
example:
1.select text: abc
2. type (
3. result: "(abc) -
What you’re talking about is encapsulating. Honestly I would find this useful occasionally as a time saver, but I could more so see this as a plugin.
It would be even more useful to me with the option add line breaks and adjust indentation at the same time.
[
“string”,
“string2”
]
becomes
[
[
“string”,
“string2”
]
]all with a hotkey press. Yes please. But I think that’s too specialized to be in the main program. Like I say, this could be a plugin.
Okay so the website eats my whitespace. That’s more than a little ironic, isn’t it?
-
@Andrew-Dunn said:
the website eats my whitespace
If you’re going to do something that looks like a code-block, I believe you need to indent with four or more spaces leading off each line. When I do it, I use Notepad++ to prepare it (indented!) and then paste it here. :-)
-
This feature is a built-in feature of the sublime & vscode
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login