Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Custom Code Formatter Profile

Hi Sergey,

 

Thanks for the suggestion, I also tried this approach as well. However, I’ll need to be able to programmatically toggle one of the value. i.e from tab to space. Our user find it difficult to navigate the CDT editor preferences and sometime they don’t know where to look and often look in the text editor preference and find nothing.

 

Regards,

Patrick

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Tuesday, July 16, 2013 6:14 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Custom Code Formatter Profile

 

A custom formatter profile is just a piece of preferences. We are doing it through plugin_customization.ini file and the eclipse.pluginCustomization=/some_directory/configuration/plugin_customization.ini line in configuration/config.ini.

 

-sergey

 

On Tue, Jul 16, 2013 at 2:30 PM, Chuong, Patrick <pchuong@xxxxxx> wrote:

Hi,

 

I am been searching around the CDT code for ways to contribute custom profile to the Code Formatter through extension point, but can’t find any. With some hacking, I am able to contribute a custom profile by creating a custom profile and adding it to the profile manager in an IStartup extension. Does anyone know a better way of contributing a custom profile?

 

Thanks,

Patrick


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 


Back to the top