How to replace four spaces with a tab in Sublime Text 2?

后端 未结 8 2368
陌清茗
陌清茗 2020-12-12 09:07

\"enter

I want to replace all the \"four spaces\" that is written by another text edit

8条回答
  •  感情败类
    2020-12-12 09:48

    Bottom right hand corner on the status bar, click Spaces: N (or Tab Width: N, where N is an integer), ensure it says Tab Width: 4 for converting from four spaces, and then select Convert Indentation to Tabs from the contextual menu that will appear from the initial click.

    Similarly, if you want to do the opposite, click the Spaces or Tab Width text on the status bar and select from the same menu.

    enter image description hereenter image description here

提交回复
热议问题