At 11:59 AM +0100 11/29/01, pepijn wrote:
>A nice feature would be if idea kept track of dependencies between classes. For 
>example, if I make two classes Foo and Bar like this:
>public class Foo {
>  public static void main( String[] args ) {
>    foo();
>  }
>
>  public static void foo() {
>    Bar.bar();
>  }
>}
>
>public class Bar {
>  public static void bar() {
>  }
>}
>
>everything works fine. But when you add a parameter to the Bar.bar method and compile 
>the modified Bar class, the compiler doesn't complain because Foo is not recompiled. 
>Running Foo then gives you a NoSuchMethodError. Would it be feasible to make Idea 
>keep track of this kind of dependency and then try to compile Foo when I compile the 
>changed Bar class?

Already supported. Use the "Change Signature" refactoring.
-- 
------------------------------------------------------------------------
Russell Gold                     | "... society is tradition and order
[EMAIL PROTECTED]                 | and reverence, not a series of cheap
                                 | bargains between selfish interests."
http://www.httpunit.org          |   - Poul Anderson, "Iron"

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to