can't custom formatter? [message #26358] |
Tue, 10 February 2009 04:15  |
Eclipse User |
|
|
|
Originally posted by: program.163.com
hi
the mtj 0.91 can't custom my formatter? like
->Preferences
-->java/Code Style/Formatter
--->Active Profile?
|
|
|
|
|
|
|
Re: can't custom formatter? [message #27830 is a reply to message #27790] |
Mon, 09 March 2009 03:01  |
Eclipse User |
|
|
|
i got plan, just setup it at project properties(default its unmanaged
profile).
ArLi Weng wrote:
> for example:
>
> i don't want to format the comment, so i setup an 'new formatter'
> profile to disable it, but just work for jdt, so i think mtj using the
> 'eclipse built-in' always?
>
> Diego Madruga Sandin wrote:
>> Hi Weng,
>>
>> Let me see if i got it right. The idea is to call the formatter when,
>> for example, we create a new MIDlet?
>>
>>
|
|
|
|
Re: can't custom formatter? [message #571094 is a reply to message #26395] |
Sat, 14 February 2009 18:20  |
Eclipse User |
|
|
|
Diego Madruga Sandin wrote:
> Hi Weng,
>
> I cant see why MTJ should custom a Code Style Formatter. Can you explain??
>
>
>
of course, we can without it.
but why JDT need it?
maybe sorry for my request, i just want say:
MTJ can call the custom formatter from JDT, it's possible? like:
code = org.eclpise.jdt.codestyle.getCurrentFormatter().format(code)
^-- just a figure of speech
i need it to CONST the code in my team. like we java project by JDT.
|
|
|
|
Re: can't custom formatter? [message #571826 is a reply to message #26636] |
Mon, 09 March 2009 02:25  |
Eclipse User |
|
|
|
for example:
i don't want to format the comment, so i setup an 'new formatter'
profile to disable it, but just work for jdt, so i think mtj using the
'eclipse built-in' always?
Diego Madruga Sandin wrote:
> Hi Weng,
>
> Let me see if i got it right. The idea is to call the formatter when,
> for example, we create a new MIDlet?
>
>
|
|
|
Re: can't custom formatter? [message #571850 is a reply to message #27790] |
Mon, 09 March 2009 03:01  |
Eclipse User |
|
|
|
i got plan, just setup it at project properties(default its unmanaged
profile).
ArLi Weng wrote:
> for example:
>
> i don't want to format the comment, so i setup an 'new formatter'
> profile to disable it, but just work for jdt, so i think mtj using the
> 'eclipse built-in' always?
>
> Diego Madruga Sandin wrote:
>> Hi Weng,
>>
>> Let me see if i got it right. The idea is to call the formatter when,
>> for example, we create a new MIDlet?
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.53193 seconds