在左边显示打开的文件

有没有一种方法可以用一个简单的列表来显示屏幕左侧 SublimText 中打开的文件?

我只是希望打开的文件以这样一种可点击的方式出现在左侧

file1.txt
file2.css
file3.htm
etc

这可能吗?

47682 次浏览

Ctrl+K+B will reveal the 'Side bar', with open file information. It is really worth using projects, they are really simple and provides for easy folder/project/file switching. I also strongly reccomend going to preferences>Key Bindings - Default through the menus, and looking at all the functionality and keyboard shortcuts. Also 'preferences>Settings - Defualt`, shows you all of the configurable options (there are a lot). These are basically 'must dos' for getting full goodness out of Sublime.

Go to the "View" menu and choose "Side Bar", then "Show Open Files"

enter image description here

Right click on open file in editor... Click on Reveal in Side Bar option, it will sync the open file with side bar

If you want to do it only using keyboard, Command + Shift + P and select View: Toggle Open Files in Side Bar

enter image description here

Here's the key binding to run this shortcut using the keyboard:

[
{ "keys": ["super+shift+j"], "command": "reveal_in_side_bar" },
]