Hi,
I like tabs. Tabs as in spacing with tabs, not 4 spaces. I like this for my CSS, HTML, JS, PHP… but…
I’d like to have 2 spaces inserted wen I press “tab” instead of a tab for .rb files. Any ideas?
Hi,
I like tabs. Tabs as in spacing with tabs, not 4 spaces. I like this for my CSS, HTML, JS, PHP… but…
I’d like to have 2 spaces inserted wen I press “tab” instead of a tab for .rb files. Any ideas?
For anyone that lands on this issue:
Open a file with the type you want to edit specifically (i.e. test.html)
Go to ‘Preferences >> File Settings - More >> Syntax Specific - User’. This will open a file for that specific file type (i.e. HTML.sublime-settings)
Add your rules as with any other file. Save and you’re golden!