Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Provide a clearer error message when the stree exe cannot be spawned #13

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

Closed
xeger opened this issue Jun 23, 2022 · 2 comments
Closed

Provide a clearer error message when the stree exe cannot be spawned #13

xeger opened this issue Jun 23, 2022 · 2 comments

Comments

@xeger
Copy link
Contributor

xeger commented Jun 23, 2022

STR:

  1. Install this extension, but without installing the gem. (And/or without having a ruby interpreter in your path.)
  2. Open a Ruby source file

Outcome: useful but slightly cryptic error messages.
image
These are fine, but could possibly be improved.

Desired:

  • Human-readable error message & maybe some actionable advice ("install the gem" "install a Ruby")
  • Maybe we could even prompt the user to install the system gem for them, as the Solargraph extension does. This is getting awfully fancy however.
@kddnewton
Copy link
Member

@xeger this is good to close now right?

@xeger
Copy link
Contributor Author

xeger commented Jul 19, 2022

Yup, go for it.

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

No branches or pull requests

2 participants