Red Hat Bugzilla – Bug 161145
RFE: Add preset Code Formatter conventions for popular Open Source C/C++ styles
Last modified: 2018-06-25 02:22:31 EDT
Description of problem:
Go to: Window->Preferences->C/C++->Code Formatter
Version-Release number of selected component (if applicable):
Only visible option is "(NONE)"
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
- Linux Kernel
(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
(iv) also to pick up on Vi formatting hint lines like the following:
# vim: sw=4 ts=4 sts=4 noet ai
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.
Adding FutureFeature keyword to RFE's.
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.