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
Status: ASSIGNED
Product: Fedora
Classification: Fedora
Component: eclipse-cdt (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnston
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-20 16:10 EDT by Dave Malcolm
Modified: 2008-07-07 23:45 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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):
eclipse-cdt-3.0.0_fc-0.M6.7

How reproducible:
100%

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
etc
(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
triaged

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