question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for text-object like motion for arguments

See original GitHub issue

This is a feature request. 🙏

First of all, thank you for this great extension! I am currently considering switching vom Spacemacs (evil) to VS Code and the Vim extension is crucial for me.

The main thing that is missing for me is the following motion: argtextobj.vim or evil-args.

This is extremely handy during development, especially refactoring. Is there any chance this will get implemented in the Vim extension?

An example from the evil-args README

evil-inner-arg/evil-outer-arg

Select an inner/outer argument text object.

For example, cia transforms:

function(ar|g1, arg2, arg3)
function(|, arg2, arg3)

or

function(arg1, ar|g2, arg3)
function(arg1, |, arg3)

daa transforms:

function(ar|g1, arg2, arg3)
function(|arg2, arg3)

or

function(arg1, ar|g2, arg3)
function(arg1, |arg3)

Let me know what you think! Best, Christian

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:21
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

14reactions
J-Fieldscommented, Jul 8, 2020

will this be on by default in an upcoming release of the addon?

Yup

Is there an ETA for that?

Most likely this weekend, but I make no guarantees

7reactions
fabrik42commented, Apr 12, 2019

@joonro Hi! Is there any chance this will make it into VSCodeVim? If there is general interest, I could also try to contribute and help!

Cheers, Christian

Read more comments on GitHub >

github_iconTop Results From Across the Web

argtextobj.vim - Text-object like motion for arguments
This plugin provides a text-object 'a' (argument). You can d(elete), c(hange), v(select)... an argument or inner argument in familiar ways. That is, such...
Read more >
targets.vim adds support for argument text objects (more info ...
Six months after the initial release, I just finished support for argument text objects. It offers the same features as other text objects...
Read more >
Add or remove a Parameter behavior in Motion - Apple Support
In Motion, add a Parameter behavior to animate a specific object parameter without keyframes, or remove the behavior to remove the animation.
Read more >
Filing Motions To Resolve The Case Or Narrow Issues
If you want to file a motion, the process is generally something like this: ... You file a reply in support of your...
Read more >
Rule 56. Summary Judgment | Federal Rules of Civil Procedure
A party may object that the material cited to support or dispute a fact cannot be ... (3) grant summary judgment if the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found