Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Jalopy question
Jalopy question [message #156091] Wed, 12 November 2003 18:48 Go to next message
Eclipse UserFriend
Is there any way to use Jalopy plug-in "instead" of the
standard Eclipse formatting?

What i wand - when i cut/paste some text, i need it to be formatted
with Jalopy.

So i guess i have to find way to REPLACE standard source formatter with the
Jalopy.

Is it possible?

--
Thank you, best regards
--------------------------------
Eugene N Dzhurinsky
Re: Jalopy question [message #156099 is a reply to message #156091] Wed, 12 November 2003 19:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgangemi.yahoo.com

sure - just install jalopy to the plug-ins directory and go thru and clear
out any of the code generation text (header, etc) from the perferences page and
you're good to go.

On Thu, 13 Nov 2003 01:48:08 +0200, Eugeny N Dzhurinsky
<eugenydzh@jdevelop.com> wrote:

>
>Is there any way to use Jalopy plug-in "instead" of the
>standard Eclipse formatting?
>
>What i wand - when i cut/paste some text, i need it to be formatted
>with Jalopy.
>
>So i guess i have to find way to REPLACE standard source formatter with the
>Jalopy.
>
>Is it possible?
Re: Jalopy question [message #156123 is a reply to message #156099] Wed, 12 November 2003 20:34 Go to previous messageGo to next message
Eclipse UserFriend
jae wrote:

> sure - just install jalopy to the plug-ins directory and go thru and
> clear
> out any of the code generation text (header, etc) from the perferences
> page and you're good to go.

well, seems that we don't unserstand each other.
I need Jalopy to complete replace the standart Eclipse formatter
can you suggest how can i do that?

If possible - step by step.

I guess i have to exam the XML files in configuration and replace the
package for eclipse formatter with Jalopy one.

I'm on the right way?

--
Thank you, best regards
--------------------------------
Eugene N Dzhurinsky
Re: Jalopy question [message #156148 is a reply to message #156091] Wed, 12 November 2003 21:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: akiezun.cuthis.mit.edu.andthis

you will need to write a plugin that adopts Jalopy to the ICodeFormatter
interface
then you extends the "org.eclipse.jdt.core.codeFormatter" extension point,
then you remove the default formatter and tehre you go

none of these steps is trivial
a.
ps. this question should be asked on the jdt newsgroup
Re: Jalopy question [message #156559 is a reply to message #156123] Thu, 13 November 2003 18:11 Go to previous message
Eclipse UserFriend
Originally posted by: jgangemi.yahoo.com

why do you need jalopy to completely replace the standard eclipse formatter?
both will happily co-exist together.

once you install jalopy (just install into the plugins directory and restart
eclipse), when you right click in a java editor window a "format w/ jalopy"
option shows up - this is completely seperate then the "format" option
contained under the "source" option in the same context menu.

when you choose the "format w/ jalopy" option, the code is formatted
according to whatever jalopy preferences you define. you can also modify the
jalopy prefs from w/in eclipse by choosing the correct option under the
"window" option in the main menu bar.

if you need more help, feel free to contact me at jgangemi@yahoo.com

-jae

On Thu, 13 Nov 2003 03:34:25 +0200, Eugeny N Dzhurinsky
<eugenydzh@jdevelop.com> wrote:

>jae wrote:
>
>> sure - just install jalopy to the plug-ins directory and go thru and
>> clear
>> out any of the code generation text (header, etc) from the perferences
>> page and you're good to go.
>
>well, seems that we don't unserstand each other.
>I need Jalopy to complete replace the standart Eclipse formatter
>can you suggest how can i do that?
>
>If possible - step by step.
>
>I guess i have to exam the XML files in configuration and replace the
>package for eclipse formatter with Jalopy one.
>
>I'm on the right way?
Previous Topic:ui.propertyPages extension point
Next Topic:Editor Plugin Tutorial
Goto Forum:
  


Current Time: Thu May 08 06:19:13 EDT 2025

Powered by FUDForum. Page generated in 0.13136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top