Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print the binary required by the debug adapter #5195

Merged
merged 1 commit into from
Dec 17, 2022
Merged

Print the binary required by the debug adapter #5195

merged 1 commit into from
Dec 17, 2022

Conversation

hyderix
Copy link
Contributor

@hyderix hyderix commented Dec 17, 2022

This commit resolves #5193, where the author requested that the name of the binary needed is printed along with the rest of the health information.

This commit adds a format! macro which formats in the name of the binary and then it will be printed along with the rest of the debug information. The value in cmd is referenced to the call to which, and then consumed upon the call to format!.

This is my first issue in Helix, so please give feedback if this is not the kind of solution that you find optimal.

This commit addresses issue 5193, where the author
requested that the name of the binary needed is printed along
with the rest of the health information.

This commit adds a format! macro which formats in the name of the
binary and then it will be printed along with the rest of the
debug information. The value in cmd is referenced to the call
to which, and then consumed upon the call to format!
Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do already say the binary name in the "Configured <protocol>: <cmd>" line above each of these but I've seen some confusion over the "not found" message like in #5913 in some matrix messages and maybe some other issues / discussions. I think this change should clear that up 👍

@the-mikedavis the-mikedavis merged commit b12c656 into helix-editor:master Dec 17, 2022
gibbz00 pushed a commit to gibbz00/helix that referenced this pull request Dec 17, 2022
This commit addresses issue 5193, where the author
requested that the name of the binary needed is printed along
with the rest of the health information.

This commit adds a format! macro which formats in the name of the
binary and then it will be printed along with the rest of the
debug information. The value in cmd is referenced to the call
to which, and then consumed upon the call to format!
hadronized pushed a commit to hadronized/helix that referenced this pull request Jan 4, 2023
This commit addresses issue 5193, where the author
requested that the name of the binary needed is printed along
with the rest of the health information.

This commit adds a format! macro which formats in the name of the
binary and then it will be printed along with the rest of the
debug information. The value in cmd is referenced to the call
to which, and then consumed upon the call to format!
freqmod pushed a commit to freqmod/helix that referenced this pull request Feb 8, 2023
This commit addresses issue 5193, where the author
requested that the name of the binary needed is printed along
with the rest of the health information.

This commit adds a format! macro which formats in the name of the
binary and then it will be printed along with the rest of the
debug information. The value in cmd is referenced to the call
to which, and then consumed upon the call to format!
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.

In '--health <lang>', print expected cmd when missing in $PATH
2 participants