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

Ability to control editor URL using environment #381

Open
RobinDaugherty opened this issue Jul 29, 2017 · 1 comment
Open

Ability to control editor URL using environment #381

RobinDaugherty opened this issue Jul 29, 2017 · 1 comment

Comments

@RobinDaugherty
Copy link
Member

RobinDaugherty commented Jul 29, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@RobinDaugherty and others