简体   繁体   中英

How to show location in Sublime Text file preview (right sidebar)?

When you open a file in sublime text it shows a small version of it on the right side where you can click and scroll. In sublime text 2 it always stayed highlighted on where you are in the file, but in 3 it no longer does. I am wondering how to get this feature back, and also what the correct name for this right side bar preview thing is.

This is what it looks like in 3

这就是它在3中的样子

This is what it looks like in 2 and what I am going for. Notice how the top of the right side-bar is highlighted a lighter gray.

在此输入图像描述

Just add this line to your user settings:

"always_show_minimap_viewport": true

Thanks @Rico for telling me it is called a minimap !!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM