For Python files, I must use spaces for indenting. My default Kate editor setting uses tabs. I don't want to change the default, but I want to configure the proper settings for Python files.
I found an answer here that gives the basic steps:
In Kate
Settings → Configure Kate → Editor Component → Open/Save → Modes & Filetypes
.Therein, select your desired filetype, e.g. Scripts/Python.
Click on the little tool-button next to the
Variables
line edit.In the dialog that opens, scroll down until you find:
- replace-tabs-save
- replace-tabs
In those options, I checked the box (to override the default setting) and selected true
from the drop down list. I "OK'd" the changes and came back to editing my Python file. However, the changes I made are not having any effect.
What did I do wrong?