Vsvim: Enter in command bar doesn't work

Created on 27 Sep 2016  路  8Comments  路  Source: VsVim/VsVim

I don't know what's happened,
I was working with VsVim and everything was fine. Since yesterday, I notice this weird behavior that I go to command mode and I type a command, it treats it as if I have pressed Enter in the editor window, and it just opens a blank line in my code

bug resharper

Most helpful comment

I am getting this same issue as well consistently, and I have ReSharper installed too. Is there any way to force focus to the command bar when entering a command with VsVim?

This is not a dealbreaker issue, but it is certainly a severely annoying one considering how entering commands in Vim is supposed to work.

All 8 comments

Apparently, it has something to do with ReSharper. I don't know why because I have the exact same environment on both of my computers, but the issue only appears on one. If I suspend ReSharper, the issue goes away.
The thing is that sometimes the issue doesn't appear, so I don't know what is happening here.

UPDATE: the issue, I think, is that the focus is not transferred to the command bar. If I start typing something into the command bar, and then manually click on the bar, and press ENTER, it works

I am getting this same issue as well consistently, and I have ReSharper installed too. Is there any way to force focus to the command bar when entering a command with VsVim?

This is not a dealbreaker issue, but it is certainly a severely annoying one considering how entering commands in Vim is supposed to work.

Which version of R# do you have installed?

During the last month I've been working on three different computers, and I've had this problem on every one of them. And I don't think I had Resharper on any of them (although I've been said that Visual Studio is slowly natively integrating features from Resharper).

@jaredpar In Resharper > About, it says:

JetBrains ReSharper Ultimate 2016.2.2 Build 106.0.20160913.91321
dotCover 2016.2.20160913.94258
dotMemory 2016.2.20160913.94258
dotTrace 2016.2.20160913.94302
ReSharper C++ 2016.2.20160913.92511
TeamCity Add-in 2016.2.20160913.92511
ReSharper 2016.2.20160913.92608

My visual studio version info is:
Microsoft Visual Studio 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

The version of VsVim I have installed is:
VsVim 2.1.2.0

I can confirm that if I temporarily suspend ReSharper, the problem does not occur.

I also have R# 2016, and it only happens on one of my computers, and unfortunately not always either!

This issue is still present in VsVim 2.2.0.0 on VS 2015.

The command margin now gets the focus (since 2.5.0 at least), so this bug should be resolved because the workaround suggested is now effectively performed automatically.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iamkarlson picture iamkarlson  路  7Comments

DanielKeogh picture DanielKeogh  路  3Comments

prat0088 picture prat0088  路  4Comments

LariscusObscurus picture LariscusObscurus  路  4Comments

kkorus picture kkorus  路  7Comments