Bug 365742 - Individual Settings for different Versions of Kate and Katepart
Summary: Individual Settings for different Versions of Kate and Katepart
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (other bugs)
Version First Reported In: 16.04.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-16 12:17 UTC by Jayesh Badwaik
Modified: 2018-08-15 19:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.50
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jayesh Badwaik 2016-07-16 12:17:12 UTC
The following bug
https://bugs.kde.org/show_bug.cgi?id=215723
asked for same settings for kate and katepart. However, this is very inconvenient to someone who uses kate for a lot of different work. Hence, I suggest that each application (and preferably each project in each application should be able to have their own katepart settings).

Use Case:
I like to use 80 column width on my Kile files, 100 column widths in my kdevelop c++ and 80 column in my kdevelop C programs. 
I think the second case is much more prevalent than the first case. 

Reproducible: Always
Comment 1 Chris 2016-09-29 08:39:28 UTC
I am also affected by this bug after switching from KDE 4. I use Kate as a plain text editor (no line numbers, etc.), and use KDevelop for programming (show line numbers, etc.). Being forced to use the same editor settings means I am forced to choose between Kate and KDevelop. It appears that the only way to get my previous setup would be to use a GTK based text editor to replace Kate.

For me, the best solution would be if I could setup my "global" settings in Kate, then tick a box in KDevelop editor settings saying "program specific settings" and setup my programming environment.

My System: Linux Mint 18 with Kate 15.12.3 (from packages) and KDevelop 5.0.1 (compiled from source).
Comment 2 Christoph Cullmann 2018-08-15 19:52:19 UTC
Git commit 7bc88de8f64e3fc6ae6def202ea08c8ca3eab39d by Christoph Cullmann.
Committed on 12/08/2018 at 21:40.
Pushed by cullmann into branch 'syntax-highlighting'.

store KTextEditor configuration in the application config object

CHANGELOG: KTextEditor configuration is now application local again, the
old global configuration will be imported on first use

as discussed in the tram after the social event with Dominik & co.

M  +8    -8    src/utils/kateconfig.cpp
M  +20   -0    src/utils/kateglobal.cpp
M  +1    -7    src/utils/kateglobal.h

https://commits.kde.org/ktexteditor/7bc88de8f64e3fc6ae6def202ea08c8ca3eab39d