Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] "New line at end of file when saving" asproject preference

>> What does everyone think about changing the default?  If that's what the
>> ANSI and ISO standards mandate maybe we should have it on by default.
>> 
>> This would be a very simple one line change on
>> org.eclipse.cdt.ui.PreferenceConstants.initializeDefaultValues(IPreferen
>> ceStore):
>> 
>>       store.setDefault(PreferenceConstants.ENSURE_NEWLINE_AT_EOF, true);

> We changed the default in our product at the request of many of our
> customers.  I'd say it's a good change for CDT, but you never know who's
> going to get mad when you change default pref values.  :)

Warren,

Just curious how you changed the default in your product, do you
provide your own version of the CDT plugins with the above patch,
or do you somehow change the preference programmatically?

Regards,
  Wieant


Back to the top