1

Topic: ViEmu Ignored on some VS startups

Version: v3.10.0
Visual Studio: Version 16.3.5 VisualStudio.16.Release/16.3.5+29411.108
JetBrains ReSharper Ultimate 2019.3.1   Build 193.0.20191219.91525

The problem is that ViEmu just doesn't bind to keys on random start.
I just started this morning and the motion keys don't work. I reset the keybindings but it doesn't help. ViEmu thinks its working but the motion keys just enter text into the document.

Sometimes this happens on a 2nd or 3rd copy running and I close it and start again and everything is good. This morning the prime one didn't work even on restart. But when I opened a 2nd copy it worked fine. I closed the first and switch to the main project and everything is good again.

Any idea what is going on?

Stephen

2

Re: ViEmu Ignored on some VS startups

I believe what I've seen is the same thing.  When I open a solution in 2019 and there were previously open editor windows that VS reopens, the cursor is the thin insertion cursor and ViEmu doesn't seem to be running for that window.  If I close and reopen the same file in the editor, it gives the block cursor and ViEmu works as expected.  All manually opened editor windows appear to work properly, I see this only on startup and only with editor windows that VS opens when the solution loads.  When it does happen, all editor windows opened at start ignore ViEmu, it doesn't appear to be mixed.

Smells like an initialization race condition of some sort.

Not sure exactly when it started, but I believe it happened after a 2019 update, so may be something that MS changed in one of the most recent update sets.  I still use 2017 more than 2019, so haven't paid as much attention to it.

Microsoft Visual Studio Professional 2019 Version 16.4.5
VisualStudio.16.Release/16.4.5+29806.167
JetBrains ReSharper Ultimate 2019.3.3   Build 193.0.20200215.145801
ViEmu for Visual Studio   3.10.0

3

Re: ViEmu Ignored on some VS startups

This should be fixed in the new 3.11 version, apologies for the long delay in fixing this:

   http://www.viemu.com/blog/2020/12/13/ne … sion-3-11/

Regards,

  -- Jon