Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Using special code formatter and 'Indent Line'

Hi everybody,
I managed to run a special purpose code formatter by using the org.eclipse.cdt.core.CodeFormatter extension point. That works fine.

But if the user presses Ctrl-I, another indentation engine is used, and my formatting gets garbled.
Which code is run when Ctrl-I is pressed? I can't find it.
I'd like to run part of my own formatting code in that case, too, to have consistent results with Sh-Ctrl-F and Ctrl-I.

Thanks for help!
 Achim


Back to the top