MordechaiHadad / bob

A version manager for neovim
MIT License
1.41k stars 36 forks source link

[feature]list remote nvim versions available to install #200

Closed SureshPradhana closed 3 months ago

SureshPradhana commented 4 months ago

bob ls-remote for listing available remote versions

Upvote & Fund

Fund with Polar

MordechaiHadad commented 3 months ago

@SureshPradhana Can you describe the exact behavior you expect from this feature? do you want to list all versions that are available to install in a long ass list?

SureshPradhana commented 3 months ago

Yes, like nvm ls-remote, Bob installs and switches between versions. Easily seeing available versions simplifies installation and use, akin to nvm ls-remote listing all downloadable versions.

MordechaiHadad commented 3 months ago

Yes, like nvm ls-remote, Bob installs and switches between versions. Easily seeing available versions simplifies installation and use, akin to nvm ls-remote listing all downloadable versions.

Can you post a screenshot on how it looks UI wise? I dont use nvm

SureshPradhana commented 3 months ago
❯ nvm ls-remote
        v0.1.14
        v0.1.15
        v0.1.16
        v0.1.17
        v0.1.18
        v0.1.19
        v0.1.20
        v0.1.21
         *
         *
        v20.6.1
        v20.7.0
        v20.8.0
        v20.8.1
        v20.9.0   (LTS: Iron)
       v20.10.0   (LTS: Iron)
       v20.11.0   (LTS: Iron)
       v20.11.1   (LTS: Iron)
       v20.12.0   (LTS: Iron)
       v20.12.1   (LTS: Iron)
->     v20.12.2   (LTS: Iron)
       v20.13.0   (LTS: Iron)
       v20.13.1   (Latest LTS: Iron)
        v21.0.0
        v21.1.0
        v21.2.0
        v21.3.0
        v21.4.0
        v21.5.0
        v21.6.0
        v21.6.1
        v21.6.2
        v21.7.0
        v21.7.1
        v21.7.2
        v21.7.3
        v22.0.0
         v22.1.0
        v22.2.0

The arrow indicates the version in use. Green indicates the stable version, while blue indicates downloaded versions. image

MordechaiHadad commented 3 months ago

@SureshPradhana Hello i pushed a new PR for this issue, test and tell me if it works how u wanted.

  1. Simply run bob ls-remote
SureshPradhana commented 3 months ago

@MordechaiHadad I tested the new PR, and it works as expected. It’s now easier to know what to install. I think it would be better with spaces and arrows on the used version, but it's readable and simple as is.

Let me know if you need help with this PR or anything else in the repo; I have some free time.

MordechaiHadad commented 3 months ago

@MordechaiHadad I tested the new PR, and it works as expected. It’s now easier to know what to install. I think it would be better with spaces and arrows on the used version, but it's readable and simple as is.

Let me know if you need help with this PR or anything else in the repo; I have some free time.

Not sure about an arrow, but I can add an indicator for stable release. What do you mean by spaces though?

SureshPradhana commented 3 months ago

image space before the versions

MordechaiHadad commented 3 months ago

@SureshPradhana updated PR

SureshPradhana commented 3 months ago

image the listed versions have extra line breaks.

MordechaiHadad commented 3 months ago

i am confused by what you meant by adding spaces then.

You meant horizontal padding?

SureshPradhana commented 3 months ago

Oh, my bad. By the way, horizontal padding doesn't make much of a difference, but vertical padding is taking up a lot of space here.

MordechaiHadad commented 3 months ago

Oh, my bad. By the way, horizontal padding doesn't make much of a difference, but vertical padding is taking up a lot of space here.

Yes I agree, lol.

MordechaiHadad commented 3 months ago

@SureshPradhana better now i hope.

SureshPradhana commented 3 months ago

@MordechaiHadad Yes, it looks better now