Bug 431349 - Source formatting and indentation should be per-project
Summary: Source formatting and indentation should be per-project
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (other bugs)
Version First Reported In: 5.6.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-09 10:58 UTC by Aaron Williams
Modified: 2021-01-10 11:25 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 Aaron Williams 2021-01-09 10:58:43 UTC
Right now the editor settings appear to be global.  I have multiple 
projects, I work with, often with multiple instances of KDevelop open.
Some projects follow the Linux kernel formatting of using tabs whereas
other projects indent by 4 and only use spaces.  It would be nice if this
configuration option could be moved from the main KDevelop settings to the
project configuration, or to allow the project configuration to override the main settings.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Igor Kushnir 2021-01-10 11:25:52 UTC
The Settings=>Editor section comes from KTextEditor, so it might be difficult to move to the project configuration. There is per-project Source Formatter configuration, which overrides the global settings. Did you try configuring that?