Skip to content

Conversation

@adamperkowski
Copy link
Contributor

I had an idea to add a typed command that displays current hx version in the info bar at the bottom.

This command provides a couple of small quality of life improvements:

  • Fixes a mess that happens when troubleshooting with a few helix builds/installations/instances
  • Offers quick access to essential information without the need to go and check installed version
  • Simplifies the troubleshooting process by allowing to easily verify the current Helix version while diagnosing and resolving issues
  • Enhances efficiency by reducing the time and effort required to gather basic system information, allowing to focus on resolving potential issues faster

It looks like this:
image

image

I'm new to this project and I already love it ❤️

@kirawi
Copy link
Member

kirawi commented Jul 14, 2024

I'm not sure I understand the purpose of this command. It's not much work to run hx --version

@adamperkowski
Copy link
Contributor Author

Well, you don't have to exit the editor now

@adamperkowski
Copy link
Contributor Author

For me, It's just simplier to type :version when I'm in hx already. It's better to have two ways over one.

@kirawi
Copy link
Member

kirawi commented Jul 14, 2024

If you're on a Unix-based operating system, you can suspend Helix with ctrl-z. If you're on Windows, you can open a new terminal tab or window. And I'm not sure how often one would need to check which version of Helix is installed. It seems like a niche command.

I see where you're coming from, but it doesn't seem to me like the justification to add a command for it outweighs the reasons not to add it.

@adamperkowski
Copy link
Contributor Author

Ia agree, maybe an :about command would make more sense. It would show all the info, as well as links to github, documentation, etc.

@the-mikedavis
Copy link
Member

This has been suggested before (#3636). It would be ok to include in a :help output (#997) but it's needless as a command itself

@adamperkowski adamperkowski deleted the version_command branch July 14, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants