Sublime Text 3, convert spaces to tabs

前端 未结 11 2363
[愿得一人]
[愿得一人] 2020-12-07 08:07

I know there are a lot of posts about this, but I couldn´t get it to work.
I use tabs for coding. Is there a way, to convert always spaces to tabs? I.e. on open and on S

11条回答
  •  南方客
    南方客 (楼主)
    2020-12-07 08:41

    On the bottom right-hand corner of your Sublime Text window, you'll see an indentation indicator that looks a lot like this:

    Indentation options menu

    Clicking it will open a menu with options to adjust your indentation preferences, and more importantly, Convert Indentation to Tabs/Spaces.

    The same menu is listed under View -> Indentation.

提交回复
热议问题