CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

Reveal file in the middle of Project Navigator

Open dscyrescotti opened this issue 2 years ago • 1 comments

Description

This PR includes the reveal of the selected file in the middle like in VSCode and Xcode as follows.

  1. 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)
  2. 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

dscyrescotti avatar Jun 22 '23 16:06 dscyrescotti

Please fix SwiftLint errors.

austincondiff avatar Jun 23 '23 04:06 austincondiff