Sublime Forum

Set default tab size

#1

Hello, maybe I’m stupid, but I can not find an easy way to set the default tab width to 2.

I followed some instructions, wanted to change the 4 and make it a 2, but I can not edit the settings? Why is that, what is wrong, and what to do to make it work?

Thank you,
Ad

0 Likes

#2

You are supposed to copy the "tab_size": 4 line to the right panel and modify it there.

0 Likes

#3

What now? Why is it so extremely difficult?

0 Likes

#4

The files are JSON-formatted, so you need to insert it between the curly braces. You’ll also need to insert a comma to separate the key-value pairs.

It’s not difficult if you know what JSON is, and JSON is definitely not hard to understand.

0 Likes

#5

Yes thank you FichteFoll - it was stupid of me to forget about the comma separating settings.
I have seen some JSON before. now I remember. The tips helped me. Now all files open up with default tab set to 2.

Thank you!

0 Likes