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

multiline editing does not work #146

Closed
luxueyan opened this issue Feb 16, 2016 · 8 comments
Closed

multiline editing does not work #146

luxueyan opened this issue Feb 16, 2016 · 8 comments
Labels
Milestone

Comments

@luxueyan
Copy link

The vscodevim extension was installed, but the mutil edit can't work ,

@jpoon jpoon added the kind/bug label Feb 16, 2016
@jpoon jpoon changed the title When it is installed the multi edit cannot work multiline editing does not work Feb 16, 2016
@johnfn
Copy link
Member

johnfn commented Feb 18, 2016

I'm not sure what this means. Are you referring to visual block mode?

@jpoon
Copy link
Member

jpoon commented Feb 18, 2016

VSCode also comes with Multi-cursor which doesn't seem to work after installing this extension.

@luxueyan
Copy link
Author

No!When it is at command mode,i press the shortkey "command+d" for multiline selecting. Then i need change the content,i press "i" to insert mode, it dose not work! Only the first cursor update.

ps: mac os system

@hexinatgithub
Copy link

hexinatgithub commented Apr 19, 2016

Yes, there is a problem with this plugin, I type the for and use VSCode build-in snippet, the multi edit can't work.Like this:

for(var index = 0; index < array.length; index++) {
  var element = array[index];
}

then build-in snippet will select all index, and you can multi edit, but when you type only the first cursor update, and rest are gone.

for(var bug = 0; < array.length;++) {
    var element = array[];
}

@hexinatgithub
Copy link

And the other situation is that when you type for,use the snippet

for (var index = 0; index < array.length; index++) {
    var element = array[index];

}

and type tab skip set index, and will select the array, then you change the array, only the first will change, and then you type enter, the rest will change, but the word will placed before cursor, and the most import is that, the inserted word will replaced the characters before cursor, like follow code, it will replaced = with bug.

for (var index = 0; index < bug.length; index++) {
    var elementbug[index];
} 

@ericwooley
Copy link

VI with multi cursor mode is extremely powerful.

This bug is pretty much the only thing keeping me from switching from atom.

@jkevingutierrez
Copy link

+1

@johnfn johnfn added this to the v0.4 milestone Jul 7, 2016
@johnfn
Copy link
Member

johnfn commented Jul 25, 2016

Closing in favor of #417.

@johnfn johnfn closed this as completed Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants