Tabs, Text Blending, HTML Editing (Rails)

Is there a way to force Text-Mate to use a tab with two spaces instead of a full tab when editing HTML documents (Rails)?

+3
source share
2 answers

Yes. A pop-up menu appears at the bottom of the window, which probably reads Tabs: 4or something like that. Click on it and set it to 2and Soft Tabs.

You must have a document rhtmlor erb(or any type of file that you want to modify) to edit when you open it. Changes will be saved for all documents of this type.

+14
source

In the tab section, these TextMate menu commands are also useful:

  • → →
  • → →

Haml.

+3

Source: https://habr.com/ru/post/1699688/


All Articles