VS代码迷你图“位置突出显示” [英] VS code minimap "location highlighting"

查看:111
本文介绍了VS代码迷你图“位置突出显示”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很高兴看到VS Code最终添加了一个minimap选项,以简化导航。但是,令我非常沮丧的是,仅当您将鼠标悬停在小地图上时,显示文件中当前位置的半透明矩形才会显示。我的意思的直观示例:

I was really excited to see VS Code finally added a minimap option for easier navigation. However, I've been really frustrated that the translucent rectangle showing your current location in a file only shows up when you hover over the minimap. A visual example of what I mean:

没有光标:

使用光标:

Without cursor: With cursor:

在其他编辑器中使用此功能时,我发现很多价值来自快速查看文件中的位置。有人知道是否存在设置/扩展名/ hack来使矩形保持可见?

When using this feature in other editors, I find a lot of value comes from quickly seeing where I am in a file. Does anyone know if there is a setting/extension/hack that will keep the rectangle visible?

推荐答案

从稳定版本开始 1.14(2017年6月) settings.json

"editor.minimap.showSlider": "always"

这篇关于VS代码迷你图“位置突出显示”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆