Gerrnperl / outline-map

A visual, interactive outline map that combines the clarity of the outline with the intuitive overview of the minimap. Alternative Minimap.
https://marketplace.visualstudio.com/items?itemName=Gerrnperl.outline-map
MIT License
213 stars 17 forks source link

建议:列表自动展开时,鼠标悬停的项目保持其在原有位置不变 #29

Open caihuaye opened 1 year ago

caihuaye commented 1 year ago

Is your feature request related to a problem? Please describe.

比如下面的目录结构,假设 project 为第一行,当我的鼠标从第四行的 a2 的位置向下移动到 B 时,列表 A 自动收起,列表 B 自动展开,此时 B 在第三行,而我的鼠标悬浮在第五行的位置,超出了列表 B 的最大长度。最终的结果是我的鼠标悬浮在第五行的 c1

这让我非常困扰,常常需要多次快速的移动鼠标,进行来回切换,使其停留在我所希望的位置。

project ├─ A │ ├─ a1 │ ├─ a2 ├─ B │ ├─ b1 ├─ C │ ├─ c1 │ ├─ c2 │ ├─ c3

Describe the solution you'd like

感谢作者的辛勤付出,希望能够优化以下特性:

1)鼠标悬浮的标题在自动展开的同时能够保持其在原有位置不变。比如上面的例子,我希望鼠标从 a2 移动到 B 时,自动展开列表 B,且最终我的鼠标仍旧悬浮在标题 B上方

2)希望展开列表时,对应的图标不要旋转 90 度,这让我原本习惯的图标变得非常陌生,难以辨认。