You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 ofEDITOR
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.The text was updated successfully, but these errors were encountered: