Skip to content

Steep and Sorbet LSPs emit errors in vanilla Ruby projects #154

@hakanensari

Description

@hakanensari

The extension enables Steep and Sorbet LSPs by default, which is fine, but then these emit error messages in vanilla projects that don't use them:

Failed to run steep, sorbet. Click to show error.

This makes the extension less ergonomic. One quick workaround, of course, is to disable the LSPs in settings. But this is perhaps not what you want users to do?

Specifically,

Steep complains about a missing Steepfile. It should probably gracefully handle projects (e.g. remain silent) that don't have one instead of showing an error?

And Sorbet seems to have another one of those path-escaping bugs, which surfaces on macOS:

/Users/jdoe/Library/Application Support/Zed/extensions/work/ruby/gems/sorbet-0.5.12358/bin/srb: line 55:
/Users/jdoe/Library/Application: No such file or directory

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions