Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] AW: auto completion and interfaces - automatically add function declarations

Hi,

I'm new to PDT. Hello to everybody!
Is it possible to make Eclipse/PDT automatically add
the function declarations when implementing an interface?
Since you have to implement all functions this could avoid
some typing.

e.g.

interface myInterface
{
   function1 ($param1, $param2);
   function2 ();
}


class myClass implements myInterface
{
  /* should be added automatically when opening the class block */

  function1 ($param1, $param2)
  {
  }

  function2 ()
  {
  }

}

Regards,
Ruben


Back to the top