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
Describe the bug % should ignore any characters such as ) or > that are unmatched. It doesn't, so it'll sometimes get stuck.
To Reproduce
Steps to reproduce the behavior:
Go to the start of this line: object->method(param1, param2);
Hit %
Notice that nothing happens
Expected behavior
The cursor should jump to ). This doesn't happen because it's trying to find the < that matches with the > on the arrow and doesn't continue when it fails.
Environment (please complete the following information):
Extension (VsCodeVim) version: 1.8.1
VSCode version: 1.34.0
OS: Windows 10
The text was updated successfully, but these errors were encountered:
I was wrong about the cause of this. It isn't trying to match the < because matchesWithPercentageMotion is false. It doesn't, however, keep going after realizing this.
These have matches, but are not compatible with the `%` motion (matchesWithPercentageMotion=false). We should skip over them to find one that is compatible.
Fixes#3807
These have matches, but are not compatible with the `%` motion (matchesWithPercentageMotion=false). We should skip over them to find one that is compatible.
FixesVSCodeVim#3807
Describe the bug
%
should ignore any characters such as)
or>
that are unmatched. It doesn't, so it'll sometimes get stuck.To Reproduce
Steps to reproduce the behavior:
object->method(param1, param2);
%
Expected behavior
The cursor should jump to
)
. This doesn't happen because it's trying to find the<
that matches with the>
on the arrow and doesn't continue when it fails.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: