Bug 272335 - Newly defined formatting styles should also be available for other mimetypes
Summary: Newly defined formatting styles should also be available for other mimetypes
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (show other bugs)
Version: 4.2.1
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 16:46 UTC by Wolfgang Bangerth
Modified: 2014-01-25 01:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Bangerth 2011-05-03 16:46:37 UTC
Version:           4.2.1 (using KDE 4.6.0) 
OS:                Linux

If I'm unhappy with any of the predefined source formatting styles, I can create a new style and edit it. However, this is only relative to the current mimetype selected at the top of the dialog: I can add and edit a new style for c++ header files (mimetype text/x-c++hdr), for example, but if I want to also use it for c++ source files (mimetype text/x-c++src) -- a completely reasonable thing to do -- I have to add and define the same style a second time because the list of styles for x-c++src doesn't include the style previously defined for x-c++hdr.

My suggestion therefore is to have the list of styles be global, rather than relative to the current mimetype.

Thanks
 Wolfgang

Reproducible: Always