tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
552 stars 89 forks source link

Any plan to make the extension available for VS 2022 #314

Closed Evangelink closed 2 years ago

Evangelink commented 2 years ago

Hi,

First of all, thank you for this awesome extension! I am wondering if you are planning on releasing a new version of the extension compatible with VS2022?

andresparrab commented 2 years ago

Hi!

Dito that! I think many people would be very thanksfukk if this wouls support VS2022.

Grahamvs commented 2 years ago

I've been using this extension for a few years now, and it would be really sad if we're not able to continue using it with newer versions of Visual Studio.

Regardless of whether or not you decide to update it, I would like to thank you for sharing it with us :)

SanderBreivik commented 2 years ago

👍 This extension has been improving the readability of my code! I would really like it in 2022 as well!

SanderBreivik commented 2 years ago

If anyone has time the tutorial to port is here

Grahamvs commented 2 years ago

I've had a quick look at porting it and I managed to get some of it working (mainly the coloured text), but the options don't load.

@tomasr if you're interested, I had to upgrade all project runtimes to v4.7.2, convert the NuGet packages to Package References and replace all the existing NuGet packages with "Microsoft.VisualStudio.Sdk" v17. This, unfortunately, means it's not compatible with VS 2019 and older.

It is possible to split it so you can support all versions, but it doesn't seem like an easy task (a few other extension devs have resorted to releasing 2 separate extensions).

I found a call to load "Microsoft.VisualStudio.Shell.10.", however, it seems it's still trying to reference it somewhere else that I can't find...

I will continue to look into this in my spare time, but I have very little of that at the moment. Hopefully, this helps someone else if they have the time.

andresparrab commented 2 years ago

Hi Grahamvs, that is awsome, Even if it mean that it will not be compatible with vs 2019 and older. Because im going to exclusive run vs 2022. But I trying to understand what you wrote to se if i can understand step by step.

  1. Download Viasfora from git
  2. Upgrade all project runtimes to v4.7.2
  3. Convert the Nuget PAckages to Package Reference ?? this part did not cumpute in my brain :)

Im trying to read how to do it but is not as easy i think, or i missing something

Odiriuss commented 2 years ago

@andresparrab check out this article for Package References https://docs.microsoft.com/en-us/nuget/consume-packages/migrate-packages-config-to-package-reference

YataoWang commented 2 years ago

Hello @tomasr,

Thanks for this useful extension. Does it have a plan to support the VS2022?

fihorvat commented 2 years ago

Thanks @tomasr for great extension. Until this extension gets updated to new version so that it supports VS2022 you can take the release from the fork of this repository here thanks to @IllyaTheHath Just download the Viasfora.vsix and run it. I tried and it works great.

dmaidon commented 2 years ago

Support for VS2022 would be a big plus.

andresparrab commented 2 years ago

@fihorvat you are a life saver. I have really tried to follow @Grahamvs and @Odiriuss help to port this to vs 2022 but I guess I'm not that smart to to that. and also cant spend to much work time on this. now i downloaded the Viasfora from @IIIyaTheHath and I can see again :)

tomasr commented 2 years ago

Thanks all. It's a work in progress. It's going to take me a few days to get it done, as I don't want to completely leave existing users on previous Visual Studio versions out in the cold.

lando786 commented 2 years ago

Awesome news, thanks for this!

CoreDumpSoftware commented 2 years ago

Giving more details to @fihorvat's comment.

Cloned the repo he linked Installed .Net 4.7.2. SDK Opened the project, let VS2022 upgrade all the projects for me. It wanted to do it as 4.8 but for some reason did all but one as 4.7.2. The version worked just fine but had to manually set the Viasfora.Settings project as 4.7.2. Compiled Viasfora Ran the .visx file from the Bin/Debug folder after compilation. VS2022 is now colorful again!

jerviscui commented 2 years ago

Loved this extension!

mzy666888 commented 2 years ago

Loved this extension!

gliddie commented 2 years ago

Hello Tomasr,

do you have any news for us?

I would love to have your extension in VS2022

Thank you,

aengusjiang commented 2 years ago

Waiting for vs2022 version

WhiskeyJack65 commented 2 years ago

Want to say thanks for viasfora, such a great VS extension. Sure hope you manage to find the time to get it working for VS 2022.

stefan-tb commented 2 years ago

Same here. Viasfora is one of the reasons why I am still on VS2019. ;) I would love to see an updated version for VS2022, highly appreciated! Kudos.

jeoffman commented 2 years ago

This fork should compile in VS2022 and you can install the generated .vsix : The code changes are minor - just some namespace fixes in "using". Everything else is updating the sln and csproj nugets and packageref stuff. I disabled the unit tests - I'm not interested in porting all the old VS2017 shims or supporting EOL VS versions. NOTE: this uses .NET 4.8 instead of the crufty old 4.7

SSyyll0929 commented 2 years ago

👍 This extension has been improving the readability of my code! I would really like it in 2022 as well!

stefan-tb commented 2 years ago

Seems like tomasr own 2022 branch is good enough, compiling and working. At least the colored brackets (the most important feature for me, didnt test all the other options). Thanks!

GambaJo commented 2 years ago

I hope the branch is stable soon.

jattwood commented 2 years ago

Love to see this in 2022. Such an essential tool. Thanks @tomasr !

tomasr commented 2 years ago

The develop branch is now vs2022 only. Still need to work through a few things before I can publish.

tomasr commented 2 years ago

done now.