在 TextWrangler 中自动将制表符转换为 4 个空格? [英] Auto-convert tab to 4 spaces in TextWrangler?
本文介绍了在 TextWrangler 中自动将制表符转换为 4 个空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Textwrangler 中是否有将选项卡重新定义为 4 个空格的偏好?在 Vim 中,这是 vimrc 中的 set expandtab
,但我不知道如何在 TW 中设置它,除了在编辑完文档后单击Detab".
Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab
in the vimrc, but I don't know how to set it in TW besides clicking "Detab" when I'm done editing the document.
谢谢,凯文
推荐答案
转到Preferences" -> Editor Defaults" -> Auto-expand tabs",然后将 tabs 设置为 4 个空格.然后重新启动 TextWrangler 以进行更改.
Go to "Preferences" -> "Editor Defaults" -> "Auto-expand tabs," and then set tabs to 4 spaces. Then restart TextWrangler for changes to take place.
这篇关于在 TextWrangler 中自动将制表符转换为 4 个空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文