Code Editor – automatic indentation customization

This topic contains 2 replies, has 2 voices, and was last updated by  ddenev 3 weeks, 1 day ago.

Author Posts

ddenev

Dear Sebastian,

Is it somehow possible to customize the automatic indentation that the Code Editor uses?

Currently it uses TABs by default but I would like to use 2 spaces by default.

Best regards,
Drago


Sebastian

Hi Drago,

This is tricky actually. Mainly because Microthemer has some logic for formatting the CSS code that expects tabs to be used for indention. This logic is currently in the beta version that will be released for production soon. After that, I will properly review the implications of allowing spaces for indentation. I hope that’s OK.

Cheers,
Sebastian


ddenev

Hi Sebastian,

That is perfectly OK, thank you!

Best regards,
Drago

You must login or register to reply to this topic.