Date: Jan 29, 2021
Proposed
Users of the ADT tool might want to edit ADRs in the editor that's not the default system editor.
ADT should introduce an additional ADR_EDITOR and ADR_VISUAL variables, so users may choose editors for ADRs.
The enhancement proposal is in project issues
We will read editor command from additional ADR_EDITOR and ADR_VISUAL variables.
If custom variables are not set, we will fall back to reading EDITOR and VISUAL variables.
We will extract editor command resolving code from ADR class and move it to dedicated class. That will improve testability and make further modifications easier.
We will reflect adding new variables in the docs.
- The ADR tool behavior remains backward-compatible.
- Editor command resolving will move out of launcher class.