[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: Thu, 3 Jul 2008 16:45:53 +0200

Hi,

Joe: you quoted in a very obscure way, I fixed this in this mail.

> ----- Original Message ----
> From: Mark Phippard <markphip_at_gmail.com>
> To: users_at_subclipse.tigris.org
> Sent: Wednesday, July 2, 2008 7:37:42 PM
> Subject: Re: [Subclipse-users] subclipse client-side pre-commit hook
>
> 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?

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-03 16:51:52 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.