Bug 378397 - KDevelop doesn't remember certain configuration options among IDE's restarts
Summary: KDevelop doesn't remember certain configuration options among IDE's restarts
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Session support (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-03 14:41 UTC by Petros
Modified: 2021-12-16 15:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petros 2017-04-03 14:41:50 UTC
KDevelop doesn't remember the "Enable Look-ahead code-completion" among IDE's restarts. It can't remember it even for the same project, if this option isn't global.

Another config option that the IDE doesn't remember, is the formating style under Source Formatter. Sometimes this is not happening just when IDE restarts, but even for a newly added source file. So I have to re-open Settings and select again: Language -> C++
Formatter -> Artistic Style
and select the the style I want.

One last thing, I stoped to use "Add Kate Modeline" ; kdevelop didn't remember those too.

That is for now, I can't recall other options that I use and KDevelop ignores after restart. If anyone else wants to add something, feel free to.
Comment 1 Igor Kushnir 2021-12-16 15:58:41 UTC
> KDevelop doesn't remember the "Enable Look-ahead code-completion" among IDE's restarts.
> It can't remember it even for the same project, if this option isn't global.
"Enable Look-ahead code completion" is a per-session option. It is correctly restored after restarting a KDevelop session in current KDevelop master. I don't understand what exactly doesn't work for you. Is there a per-project version of this option?

> Another config option that the IDE doesn't remember, is the formating style under Source Formatter.
The current style is also restored correctly in current KDevelop master. Note that there are per-session and per-project (in Project configuration dialog) Source Formatter settings. There *are* other bugs in that UI, which I am in the progress of fixing, for example, Bug 442903. Note that the language currently selected in Source Formatter configuration UI is not part of the stored config: it is merely a language, for which formatter and style is being configured. I am going to add an explanation of this to the UI to prevent user misunderstanding like in Bug 358798.

> One last thing, I stoped to use "Add Kate Modeline" ; kdevelop didn't remember those too.
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/301 fixes a bug that could cause accidental not-saving of "Override Kate Indentation Mode" and "Add Kate Modeline" options in per-session Source Formatter settings.