VsVim icon indicating copy to clipboard operation
VsVim copied to clipboard

How to install and run against VsMac 2022 17.3 Preview 5

Open coolbluewater opened this issue 3 years ago • 4 comments

I was able to run VSVim on VsMac 2022 17.3 Previews until Preview 3 by manually copying the VSVim package to the correct install folder. However in the last couple of previews the extension is listed as Disabled.

How do I get this beloved extension working again? 😔

coolbluewater avatar Jul 28 '22 11:07 coolbluewater

Hi @coolbluewater! This issue is fixed by https://github.com/VsVim/VsVim/pull/2987 but unfortunately I am having issues with CI that I haven't got around to resolving yet (I've been on a caravan holiday for a few days and I have no wifi or mobile signal - bliss :) )

If you trust me, you can use the following mpack file that I built myself on my machine. You will need to uninstall the version that you are currently using first as this pack file has an older version number.

https://github.com/nosami/nosami.github.io/raw/master/Vim.Mac.VsVim.0.8.0.15.mpack

If you don't trust me, you can build the code yourself in #2987 :)

nosami avatar Jul 29 '22 17:07 nosami

Unfortunately, I was unable to get this to work, most likely because my ad-hoc "uninstall" left traces of the old extension behind. Could you explain how to do this like you're speaking to a 5 year old? :)

EDIT: I was able to get it running in the end, not sure exactly how. Might help others to have complete instructions.

coolbluewater avatar Aug 03 '22 12:08 coolbluewater

Unfortunately, I was unable to get this to work, most likely because my ad-hoc "uninstall" left traces of the old extension behind. Could you explain how to do this like you're speaking to a 5 year old? :)

I was able to run VSVim on VsMac 2022 17.3 Previews until Preview 3 by manually copying the VSVim package to the correct install folder. However in the last couple of previews the extension is listed as Disabled.

^^ I'm not sure this is even supported. It might explain why you had issues removing it. The UI supports installing / uninstalling / enabling / disabling extensions again in the latest preview. I know it wasn't implemented for quite a while.

This is how you can install without using the UI. I know this isn't documented anywhere :)

/Applications/Visual\ Studio\ \(Preview\).app/Contents/MacOS/vstool setup install ~/src/Vim.Mac.VsVim_2.8.0.13.mpack

nosami avatar Aug 03 '22 13:08 nosami

Being on a floating caravan, i can confirm, that installing the .mpack download version works in VS for Mac 2022 17.4.

SailDev avatar Aug 12 '22 08:08 SailDev

2.8.0.16 was just released

It should appear within the Extensions gallery within VSMac sometime today.

nosami avatar Aug 24 '22 07:08 nosami