Sample Header Ad - 728x90

How do I make Kate indent with spaces on Python files but use tabs for text files and other files?

10 votes
2 answers
6353 views
My goal is to set Kate up to work properly on Python files but to use different settings (tabs not spaces) on other documents. I'm sure others are doing this, but I can't figure out a convenient solution. I appreciate any advice. Kate has settings for indentation here: 1. Click the Settings menu 2. Click "Configure - Kate" 3. On the right expand "Editor" 4. Click "Indentation" One option is "Default indentation mode". One choice for that setting is Python. However, I cannot find where to set (or even display) the options used for the Python choice. Furthermore, it is not clear what is the interaction between "Default indentation mode" and the explicit settings for indentation on that page. Does one override the other?
Asked by MountainX (18888 rep)
Jul 25, 2013, 05:48 AM
Last activity: Mar 17, 2022, 03:35 PM