简体   繁体   English

如何在 Sublime Text 2 中设置侧边栏的宽度?

[英]How to set the width of the sidebar in Sublime Text 2?

Sublime Text 2 seems to have user settings for everything, but I cannot locate one to set the width of the sidebar. Sublime Text 2 似乎对所有内容都有用户设置,但我找不到设置侧边栏宽度的设置。 I like it to be much narrower than it defaults to and am constantly manually setting it.我喜欢它比默认设置窄得多,并且经常手动设置它。

Anyone know where the setting is?有谁知道设置在哪里?

Thanks!谢谢!

Well I know enough that the sidebar width is per-project, ie stored in the <project>.sublime-workspace file.好吧,我知道侧边栏宽度是每个项目的,即存储在<project>.sublime-workspace文件中。

The relevant keys are相关的键是

"side_bar_visible": true,
"side_bar_width": 260.0,

So you could edit your workspace files with the width value you prefer.因此,您可以使用您喜欢的宽度值编辑工作区文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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