1

Re: ViEmu stuck with XAML files

Hi,

I'm using VS2008 on Vista with silverlight alpha tools installed. Whenever I open a XAML file, I get the cursor indicating I'm in ViEmu's command mode. However, pressing any key works like I'm in insert mode (i.e. inserts the character). Backspace doesn't work, as if I'm indeed in command mode. There's no ViEmu bar at the bottom.

Pressing escape doesn't revert to command mode.

Forgot to add: I'm using version 2.1.13

Last edited by MHaggag (2007-12-05 22:04:14)

2

Re: ViEmu stuck with XAML files

I'll check it tomorrow and let you know what I find out. Thanks!

3

Re: ViEmu stuck with XAML files

I've just tried creating both a WPF application and a Silverlight application (after installing Silverlight alpha tools for VS2008). ViEmu seems to just work fine with XAML files on both projects. I'm using XP, but I doubt that is the problem.

Do you have any other 3rd party add-in installed? The best would be if you could go to Help->About, click 'Copy info', and paste the results here for total completeness.

Regards,

  - Jon

4

Re: ViEmu stuck with XAML files

Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5

Installed Edition: Enterprise

Microsoft Silverlight Projects 2007   91899-270-0883736-60827
Microsoft Silverlight Projects 2007
Version 9.0.21116.2

Microsoft Visual Basic 2008   91899-270-0883736-60827
Microsoft Visual Basic 2008

Microsoft Visual C# 2008   91899-270-0883736-60827
Microsoft Visual C# 2008

Microsoft Visual C++ 2008   91899-270-0883736-60827
Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office   91899-270-0883736-60827
Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Studio Team System 2008 Architecture Edition   91899-270-0883736-60827
Microsoft Visual Studio Team System 2008 Architecture Edition

Microsoft Visual Studio Team System 2008 Database Edition   91899-270-0883736-60827
Microsoft Visual Studio Team System 2008 Database Edition

Microsoft Visual Studio Team System 2008 Development Edition   91899-270-0883736-60827
Microsoft Visual Studio Team System 2008 Development Edition

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V.  All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company.  Electronic version licensed from Lernout & Hauspie Speech Products N.V.  All rights reserved.


Microsoft Visual Studio Team System 2008 Test Edition   91899-270-0883736-60827
Microsoft Visual Studio Team System 2008 Test Edition

Microsoft Visual Web Developer 2008   91899-270-0883736-60827
Microsoft Visual Web Developer 2008

Codekana for Visual Studio   v1.1.3
codekana 1.1.3 - Advanced Code Visualization for Microsoft Visual Studio
(c) 2005-2007 NGEDIT Software (www.ngedit.com)

NGEDIT Software's ViEmu   v2.1.13
ViEmu 2.1 - vi/vim editor emulation for Microsoft(TM) Visual Studio(TM)
(c) 2005-2006 NGEDIT Software (www.ngedit.com)

Visual Assist X   
For more information about Visual Assist X, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2007 Whole Tomato Software, Inc.

5

Re: ViEmu stuck with XAML files

In the meantime, is there a quick shortcut to disable ViEmu when I'm editing XAML files?

6

Re: ViEmu stuck with XAML files

Ah ok, it's probably due to a Visual Assist interaction. I have a version of VAX installed that doesn't hook into VS2008, I'll download the latest version of VAX and try to repro it. If it's that, the solution is a simple fix away. I'll drop you a line as soon as I find out more.

Meanwhile, Ctrl-Shift-Alt-V should toggle ViEmu on/off at a single keystroke.

7

Re: ViEmu stuck with XAML files

Just to let you know that I've indeed been able to repro it using the latest build of Visual Assist. I have to add XAML's language service GUID to a certain list in ViEmu, so that ViEmu doesn't wait for Visual Assist to hook the window (as it won't). I'll most probably be able to fix it tomorrow. Check for more news here or on http://www.viemu.com/blog/.

Regards,

  - Jon

8

Re: ViEmu stuck with XAML files

I've fixed this and uploaded a new build, ViEmu/VS 2.1.17. You need to manually uninstall the previous version before installing this one:

  http://www.viemu.com/ViEmuVS-2.1.17.msi

[ Update: I posted the details on the blog: http://www.viemu.com/blog/2007/12/07/viemu-and-visual-assist-under-vs2008/ ]