Bug 282863

Summary: Kate editor settings should be per-session
Product: [Applications] kdevelop Reporter: Ralf Jung <post>
Component: Session supportAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: wishlist CC: aleixpol, giuliocamuffo, jurajoravec, martin+kde
Priority: NOR Keywords: junior-jobs
Version First Reported In: 4.2.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ralf Jung 2011-09-26 20:38:00 UTC
Version:           4.2.2 (using KDE 4.6.5) 
OS:                Linux

The configuration for the editor should be stored on a per-session basis, for example to deal with different indention guidelines for different projects.

Reproducible: Always

Steps to Reproduce:
Create two sessions, change the indention configuration in one, then switch to the other.

Actual Results:  
The changed indention also applies here.

Expected Results:  
Indention (and all the other editor settings) should be stored on a per-session basis.
Comment 1 Giulio Camuffo 2011-11-24 15:39:20 UTC
Confirmed on KDE 4.7.3, kate 3.7.3.
Comment 2 Aleix Pol 2013-04-11 12:02:17 UTC
I agree
Comment 3 Kevin Funk 2018-03-25 22:30:21 UTC
Still not implemented
Comment 4 Juraj 2025-07-12 09:02:17 UTC
Hello,
I would put this configuration into project configuration.

My reasoning is that with session settings you may ope 2 projects with different required settings in the same session and you will fight your own editor, all the same as now.
I also use Eclipse which stores all configuration per workspace and it is a nightmare to manage multiple workspaces (need to remember to sync configuration..).
So it is best in my opinion to put more option into project configuration.

Best regards,
Jura
Comment 5 Juraj 2025-07-12 09:06:27 UTC
One more thing,
You can try to use EditorConfig (.editorconfig) files in your project/directories and the ktexteditor can honor that.
> Preferences > Editor > Open/Save > Advanced > [x] Honour settings in .editorconfig
Is probably what you are looking for (to set indentation) per project