You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode will wrap an expression if you select it and type your wrapper. However, it maintains the selection after wrapping. So if I were to select the text foo and enter ( then it would look like this (using square brackets to denote selected text): [foo] -> ([foo])
I'd like this option added so I can select something, wrap it, and keep typing without having to hit left afterwards. I use this workflow a lot to wrap forms with additional functions. (I know there's "proper" paredit commands to do this, but this is what I'm used to doing 😅)
So using the pipe to show where my cursor would be, this is how I'd like the behaviour to look: [foo] -> (|foo)
The text was updated successfully, but these errors were encountered:
I am not a big fan of sprinkling out options, so I opted for changing the behaviour to the one you want. VS Code already implements the old behaviour anyway, so users will still have the option.
VSCode will wrap an expression if you select it and type your wrapper. However, it maintains the selection after wrapping. So if I were to select the text
foo
and enter(
then it would look like this (using square brackets to denote selected text):[foo] -> ([foo])
I'd like this option added so I can select something, wrap it, and keep typing without having to hit
left
afterwards. I use this workflow a lot to wrap forms with additional functions. (I know there's "proper" paredit commands to do this, but this is what I'm used to doing 😅)So using the pipe to show where my cursor would be, this is how I'd like the behaviour to look:
[foo] -> (|foo)
The text was updated successfully, but these errors were encountered: