In a similar way that https://github.com/atom/atom/pull/19272 fixed the scroll position after opening atom from the command line, this change does the same for the fuzzy finder. This way we have a consistent user experience for both scenarios.
The two main changes of this PR are:
The selected line will get vertically centered in the editor.
If the line is folder, it'll get unfolded.
Before this change
*With this change**
Alternate Designs
Do not do anything.
Benefits
Consisten user experience when navigating to a line through the fuzzy finder.
Description of the Change
In a similar way that https://github.com/atom/atom/pull/19272 fixed the scroll position after opening atom from the command line, this change does the same for the fuzzy finder. This way we have a consistent user experience for both scenarios.
The two main changes of this PR are:
Before this change
*With this change**
Alternate Designs
Do not do anything.
Benefits
Consisten user experience when navigating to a line through the fuzzy finder.
Possible Drawbacks
N/A
Applicable Issues
https://github.com/atom/atom/issues/12253