Skip to main content



      Home
Home » Newcomers » Newcomers » Bulk Quick Fix?
Bulk Quick Fix? [message #90625] Fri, 29 July 2005 17:05 Go to next message
Eclipse UserFriend
I am making some changes to the exceptions in a large project and what I
would like to do is have every method with the change just declare that
they now throw the new exception. There are lots of these (lots and lots)
and it would be incredibly tedious to do by hand. Is it possible to
select them all in the "Problems" view and tell them all to use the "Quick
Fix" to declare their method to throw this exception? If not is there
some other way to do this?

Thanks for any help,
Stuart
Re: Bulk Quick Fix? [message #91216 is a reply to message #90625] Mon, 01 August 2005 11:02 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Stuart Gill wrote:
> I am making some changes to the exceptions in a large project and what I
> would like to do is have every method with the change just declare that
> they now throw the new exception. There are lots of these (lots and
> lots) and it would be incredibly tedious to do by hand. Is it possible
> to select them all in the "Problems" view and tell them all to use the
> "Quick Fix" to declare their method to throw this exception? If not is
> there some other way to do this?

I don't think so, exactly. Something that might help you is the
refactoring "Change method signature", which allows you to modify a
method signature and will automatically update all dependent code
(overridden methods in subclasses, calling code, etc.). It won't help
update non-dependent code in bulk, but it might alleviate some of the work.

HTH,
Eric
Previous Topic:run configuration
Next Topic:'Open Declaration' Source Code Tunnel Vision... Blah!
Goto Forum:
  


Current Time: Thu Jul 17 21:57:47 EDT 2025

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

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

Back to the top