Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Code Style: add spacing options -- raise a bug?

Hi David,

there is a way to configure those options by modifying
an exported profile:
- Export your profile, edit the xml file by hand
- Search for keys of the form
    "insert_space_after_opening_paren_*"
    "insert_space_before_closing_paren_*"
  and change the value to "insert"
- Re-import the profile.

That should do it.
HTH,
Toni

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of David 
> Schwingenschlögl
> Sent: Wednesday, March 21, 2007 6:00 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] Code Style: add spacing options -- raise a bug?
> 
> Hi Anton,
> 
> thank you for your reply. I filed an enhancement request which can be 
> found in [1]. For the time being, is there a way to configure 
> the code 
> style without the preferences UI, or would this cause more 
> trouble than 
> do good? ;)
> 
> Greetings from a fellow Austrian :)
> 
> David.
> 
> [1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=178601
> 
> Leherbauer, Anton wrote:
> > Hi David,
> > 
> > the options you need are actually supported,
> > they are just not exposed in the Preferences UI because
> > of time constraints when implementing it.
> > If possible, please raise an enhancement request
> > to add whitespace options to the preferences UI.
> > I will try to get it done for 4.0, if time permits.
> > 
> > Cheers,
> > Toni
> > --
> > Anton Leherbauer
> > Wind River CDT Team, Austria
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top