CodeEdit
CodeEdit copied to clipboard
Reveal file in the middle of Project Navigator
Description
This PR includes the reveal of the selected file in the middle like in VSCode and Xcode as follows.
- Bring the file to the middle of the outline view if the file that is outside of the visible frame of Project Navigator becomes active/selected. (Only if the auto reveal is turned on)
- Add the manual reveal action to the command ⌘⇧J to highlight and center the file which is not visible.
Related Issues
https://github.com/CodeEditApp/CodeEdit/issues/1351
Checklist
- [x] I read and understood the contributing guide as well as the code of conduct
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
Screenshots
https://github.com/CodeEditApp/CodeEdit/assets/67727096/506efa1a-0cb2-4610-ae60-8e18bca90902
Please fix SwiftLint errors.