Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add %. #319

Merged
merged 5 commits into from
Jun 18, 2016
Merged

Add %. #319

merged 5 commits into from
Jun 18, 2016

Conversation

johnfn
Copy link
Member

@johnfn johnfn commented Jun 18, 2016

We do a fairly basic implementation that only tracks the state of the type character you're over and its pair (e.g. "[" and "]"). This is similar to what Vim does.

It can't handle strings very well - something like "|( ')' )" where | is the cursor will cause it to go to the ) in the quotes, even though it should skip over it.

PRs welcomed! I have this case at low priority because I believe it's a lot of effort for very little gain.

Ideally though, VSC implements microsoft/vscode#7177.

@johnfn
Copy link
Member Author

johnfn commented Jun 18, 2016

Oh great... now Travis is telling me the tests pass when they fail.

Apparently the only way to get them to pass is to cause them to fail so bad they don't even run. 🔥

@johnfn johnfn merged commit 80ea0b6 into master Jun 18, 2016
@jpoon jpoon deleted the percentage-motion branch June 20, 2016 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant