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
Since commit 75e2cae extra whitespace is added when using Surround to add / modify quotes.
What did you do?
"Hello |World"
Press: cs"'
What did you expect to happen?
"Hello World" => 'Hello World'
What happened instead?
"Hello World" => ' Hello World '
Technical details:
In commit 75e2cae, quotes were added to PairMatcher with nextMatchIsForward set to true. This causes the logic in GetStartAndEndReplacements (actions.ts) to add the whitespace.
VSCode Version: 1.9.1
VsCodeVim Version: 0.5.3
OS: macOS 10.12.3
The text was updated successfully, but these errors were encountered:
@hmps yea there were quite a few other improvements done to surround so it should be pretty solid now, I will take another pass in the future if there are more small things found
Since commit 75e2cae extra whitespace is added when using Surround to add / modify quotes.
What did you do?
"Hello |World"
Press:
cs"'
What did you expect to happen?
"Hello World"
=>'Hello World'
What happened instead?
"Hello World"
=>' Hello World '
Technical details:
In commit 75e2cae, quotes were added to
PairMatcher
withnextMatchIsForward
set to true. This causes the logic inGetStartAndEndReplacements
(actions.ts) to add the whitespace.The text was updated successfully, but these errors were encountered: