core icon indicating copy to clipboard operation
core copied to clipboard

[FEATURE] 期望搜索内容打开后,选中内容在居中位置展示

Open erha19 opened this issue 3 years ago • 2 comments

如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)

image

如图所示,目前点击展示后会在顶部位置展示,不符合用户习惯

描述你预期的功能表现(Describe the solution you'd like)

居中展示

erha19 avatar Aug 05 '22 02:08 erha19

这个我查过,用的就是 monaco 的 revealInCenter

https://user-images.githubusercontent.com/13938334/182988989-e6daddc0-496d-45af-832c-35e2deea1f67.mp4

换成:

  • editor.monacoEditor.revealPositionInCenterIfOutsideViewport
  • editor.monacoEditor.revealPositionInCenter

的表现是一样的

bytemain avatar Aug 05 '22 02:08 bytemain

PS 我上面这个视频是 Open In Settings,里面的表现也是想去的位置在顶部打开了

bytemain avatar Aug 05 '22 02:08 bytemain

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 12 '22 17:10 stale[bot]