[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] subclipse client-side pre-commit hook

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: Fri, 18 Jul 2008 10:23:35 +0200

On Thu, Jul 03, 2008 at 10:54:21AM -0400, Mark Phippard wrote:
> On Thu, Jul 3, 2008 at 10:45 AM, Jens Seidel <jensseidel_at_users.sf.net> wrote:
> >> On Wed, Jul 2, 2008 at 7:30 PM, Joe L <superist_joe_at_yahoo.com> wrote:
> >>
> >> > I don't know if this is possible, but i figured I'd ask. I want to run the
> >> > eclipse formatter on the source code committed before committing it
> >> > automatically. Is this possible?
> >>
> >> There are no client hooks in Subclipse. In Eclipse 3.3+ it is
> >> possible to run these tools as part of saving a file which seems like
> >> it would accomplish the same result for you.
> >
> > On Thu, Jul 03, 2008 at 06:27:27AM -0700, Joe L wrote:
> >> Didn't know about that feature. It works pretty well.
> >
> > And how? I tried it as well and looked in the preferences dialog but
> > didn't found such an action. I know how to format the code, found
> > "Startup and shutdown" options but no automatic code formatting on save
> > for my C++ project ...
> >
> > Ah, now there I found it for Java in "Java -> Editor -> Save Actions".
> > If this is language specific I have to file a bug report. Are there
> > other solutions?
>
> Yes, it is definitely a JDT feature. You could see if the new CDT 5.0
> has it or not.

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=241355 for CDT.
Let's see whether it will be supported in the future ...

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-07-18 10:30:03 CEST

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.