How to configure 4 spaces per tab in komodo for python?

347 views Asked by At

I am using komodo-edit (Komodo Edit, version 8.5.0, build 13638, platform macosx) to write python code. Whenever I press the 'tab' key I want the editor to insert 4 spaces. The preference looks like this:

enter image description here

To me this configuration looks fine. But when I press 'tab' in the editor, it looks like two 4-space wide tabs are inserted! What is wrong? How to configure komodo-edit in oder it inserts 4 spaces whenever I press the 'tab' key?

Note: I am using this on a mac. Maybe its a mac issue...?

2

There are 2 answers

0
Alex On BEST ANSWER

Install komodo-edit 11. Seems to be a bug in version 8.5

4
kucing_terbang On

Well, it is not a mac issue. You just need to uncheck the Force shallow indent at string start and try again.