Auto-convert tab to 4 spaces in TextWrangler?

前端 未结 6 2115
傲寒
傲寒 2020-12-08 18:33

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 cl

6条回答
  •  天命终不由人
    2020-12-08 18:49

    Go to Edit -> Text Options and tick Auto-expand tabs. This will make all the new tabs to change to spaces.

    To change all current tabs to spaces as well, go to Text -> Detab and hit Detab.

    Hope that helps!

提交回复
热议问题