Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在 Sublime Text 3 中折叠代码时,我得到了这个:
<div>... </div>
当我更愿意拥有这个时:
<div>...</div>
有什么办法可以做到这一点?
Sublime 通过向您显示块的第一行,然后是包含省略号的小黄色框来折叠代码,隐藏其余部分,并显示块的最后一行或下一个块的开头,具体取决于缩进级别。它不会移动代码元素或移动到新行上。此行为不是用户可修改的。