https://bugs.kde.org/show_bug.cgi?id=431705
Bug ID: 431705
Summary: Indentation mode can only globally changed.
Product: kate
Version: 20.12.1
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: indentation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
While the editor recognises the file types very well for syntax highlighting it
fails to apply the proper indentation
STEPS TO REPRODUCE
1. Go to Config > Editing -> Indentation
2. Select "Default indentation mode" to None
3. Set "Indent using" to Tabs 4
4. Open a ruby file *.rb
5. Find/create any line that starts after more than 4 spaces from the left side
6. Place cursor at the end and press Enter
OBSERVED RESULT
At the beginning of the new line there will be tabs inserted
EXPECTED RESULT
At the begining of the new line must be only spaces
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
With other rules there is the same situation.
For example if you set TAB:8 opening a file that requires TAB:4 will not work
properly.
In the previous version of Kate I can have file of different indention mode in
the same Kate window. And all works perfect. But is was broken many years ago.
Now I can not have two files with different indentation mode in one window.
--
You are receiving this mail because:
You are watching all bug changes.