[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.jdt] Code formatter, specific line wrapping
|
- From: Konstantin Scheglov <kscheglov@xxxxxxxxx>
- Date: Sat, 04 Aug 2007 14:21:08 +0400
- Newsgroups: eclipse.tools.jdt
- Organization: EclipseCorner
- User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
I have code that currently formatter formats as:
m_bindManager.bind(new Editor(modeCombo), new Provider(m_store,
P_VARIABLE_TEXT_MODE), true);
i.e. wrapping is inside of "new Provider()" arguments.
I would like to have wrapping on highest possible level, i.e. in this
case:
m_bindManager.bind(new Editor(modeCombo),
new Provider(m_store, P_VARIABLE_TEXT_MODE),
true);
If any of such wrapper parts of "bind()" invocation also should be
wrapped, again wrapping should happen at highest level, i.e. for top
MethodInvocation or ClassInstanceCreation arguments.
Do I miss any option in existing formatter?
I can write such formatting myself, but would like to minimize
efforts. Can I provide separate/external wrapping strategy? Or full code
formatter should be created?