BetterErrors / BetterErrors/better_errors

Ability to control editor URL using environment

Open
#381 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
6.9k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

Since the preference for editor varies by developer, not by project, it makes sense to allow the developer's environment to specify which editor better_errors links to.

Currently the `EDITOR` variable is supported, but this only matches specific, known editors that are hard-coded in better_errors.

I recommend a new environment variable, `BETTER_ERRORS_EDITOR_URL`, which would bypass inspection of `EDITOR` and override any configuration in the project. This would allow a developer to use their preferred editor without having to convince the rest of their team or modify better_errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.