Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 161145 - RFE: Add preset Code Formatter conventions for popular Open Source C/C++ styles
RFE: Add preset Code Formatter conventions for popular Open Source C/C++ styles
Product: Fedora
Classification: Fedora
Component: eclipse-cdt (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnston
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-06-20 16:10 EDT by Dave Malcolm
Modified: 2018-06-25 02:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-06-25 02:22:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dave Malcolm 2005-06-20 16:10:25 EDT
Description of problem:
Go to: Window->Preferences->C/C++->Code Formatter

Version-Release number of selected component (if applicable):

How reproducible:

Actual results:
Only visible option is "(NONE)"

Expected results:
Would be nice to have these things: 
(i) editing system (similar to the JDT) with previews showing different
formattings of a sample of a code
(ii) add presets to cover the formatting conventions of the following major
C/C++ projects:
   - Linux Kernel
   - GNOME
   - KDE
   - OpenOffice.org
   - Mozilla
   - K&R
(iii) ability to pick up on Emacs formatting conventions of this kind:
  /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
and to use them automatically
Comment 1 Dave Malcolm 2006-10-04 15:10:41 EDT
(iv) also to pick up on Vi formatting hint lines like the following:
# vim: sw=4 ts=4 sts=4 noet ai
Comment 2 Andrew Overholt 2007-04-16 16:13:15 EDT
This is something that would be nice to do, Jeff.  It should probably be done within the context of upstream but could be carried as a patch in our packages in the interim.
Comment 3 Jon Stanley 2008-04-23 16:29:32 EDT
Adding FutureFeature keyword to RFE's.
Comment 4 John Poelstra 2008-07-07 23:45:48 EDT
Comment 5 Alexander Kurtakov 2018-06-25 02:22:31 EDT
This stayed long enough without any interest.  If anything is about to happen here it will be upstream first. Please open a bug if still interested.

Note You need to log in before you can comment on or make changes to this bug.