-
Notifications
You must be signed in to change notification settings - Fork 47
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: js2r-universal-expand-contract func to work with array,object,func #79
Conversation
Thanks for the PR! I'm not sure about adding another way to expand/contract, while keeping the current ones. |
In my daily use I've seldom use the In fact, by moving point in the right place, I've use this function for all cases. |
Before we replace the previous functions with yours, I'd like to find For consistency, a 2 character keybinding would be great. |
Please review the commit, please suggesting the key binding. (will fix CI after decide the right key)
|
It's nice, thanks! The tests are failing though, could you have a look? Also, before merging, could you remove the previous functions and keybindings completely, and update the readme? |
I think the new key-bindings should be carefully choosing, now it's below is my suggestions:
What do you think? |
Oh, and the version number, I've bumpped a patch version. But by removing multiple key-bindings, should it be more advanced? |
James Yang [email protected] writes:
Yes, it should be a major version bump. |
Bumpped version into 0.8.0, add docs about the change log. Also please allow added me to the contributors 😄 |
@futurist looks good, thanks! Just squash your commits and we're good to go! |
instead of individual funcs.
please review. |
Excellent! 👍 thank you! |
I made this PR since I found it's very useful in my daily usage.
It's just expand and contract closest expression, for array, object, function, function-call
Please review, thanks!