brianschmitt / relativenumber

Adds VIM Relative numbers to Visual Studio for use with VSVim
MIT License
44 stars 17 forks source link

Visual Studio 2022 Support #31

Open CheesePizza100 opened 3 years ago

CheesePizza100 commented 3 years ago

Would be nice to have this in 2022.

brianschmitt commented 3 years ago

If you are using VSVim then its already built in to that extension. Otherwise please let me know the use case and I will consider adding support.

vkosciuszko commented 3 years ago

If you are using VSVim then its already built in to that extension. Otherwise please let me know the use case and I will consider adding support.

Are you sure about that ? I'm using VsVim 2022 and I can't find the option to use relative line number.

brianschmitt commented 3 years ago

Here is the PR which added support to VSVim it lists the commands in the comments: https://github.com/VsVim/VsVim/pull/2571

atcorrea commented 2 years ago

If you are using VSVim then its already built in to that extension. Otherwise please let me know the use case and I will consider adding support.

Are you sure about that ? I'm using VsVim 2022 and I can't find the option to use relative line number.

I've tried here: :set relativenumber (as it says on the PR) on VS 2022 and it seems to be working fine.

I think if you add it to your .vsvimrc it should do what you want.

ghost commented 2 years ago

If you are using VSVim then its already built in to that extension. Otherwise please let me know the use case and I will consider adding support.

Are you sure about that ? I'm using VsVim 2022 and I can't find the option to use relative line number.

I've tried here: :set relativenumber (as it says on the PR) on VS 2022 and it seems to be working fine.

I think if you add it to your .vsvimrc it should do what you want. It works fine. But I don't know how to do it when adding :set relative number to .vimrc in visual studio 2022

MonstrousOgre commented 2 years ago

If you are using VSVim then its already built in to that extension. Otherwise please let me know the use case and I will consider adding support.

VsVim seems to replace the absolute line numbers with the relative ones. What I miss about VS2019 is that I could have both relative and absolute line numbers in two different columns. I don't mind using the VsVim feature, but I would really appreciate if this extension was made available for VS2022 as well

Razormane commented 1 year ago

I am really interested in using this extension for VS2022. While it is intriguing to use VIM, I would rather opt out, and use my own personalized setup.

Is there a chance you will look into adding support for Vs2022?

brianschmitt commented 1 year ago

Dropped a new release here, I can push to the marketplace in a day or two. Please let me know if it works for you or if you encounter any issues.

Razormane commented 1 year ago

Dropped a new release here, I can push to the marketplace in a day or two. Please let me know if it works for you or if you encounter any issues.

Thank you very much! I will let you know asap! :)

MonstrousOgre commented 1 year ago

I just tested it and it's working. Thanks!

Razormane commented 1 year ago

I can confirm the same.

Gonnagle commented 1 year ago

Installed 1.7 without issues on VS 2022. Based on super quick test seemed to also work as expected 💯

Faced though soon this issue of getting another set of line numbers due VsVim extension (and thus realized VsVim now support this also so ended up to simple tweak the .vimrc to get the expected behaviour),

MonstrousOgre commented 1 year ago

I personally prefer it that way. The primary reason I wanted VS22 support is because I wanted two line number columns.