Hi there

Hi there

Is there any tool similar to what class completion does for properties but for interfaces?

ie I'd like something that auto-writes the getter and setters for this:

IFoo = interface
property Value: string read GetValue write SetValue;
property AsInteger: Integer read GetAsInteger;
end;

Ctrl + Shift + C will do for a class or record, but not for interfaces

Comments

  1. Lazarus handles class/interface completion much better than Delphi. You could write your interfaces there ;)
    My workaround for Delphi is to use completion for the class and copy&paste it into the interface.

    ReplyDelete
  2. I use ModelMaker Code Explorer. Don't remember when I last declared a property or method in the code editor.

    ReplyDelete
  3. I really don't understand why the IDE doesn't support it right out of the box. I mean, the feature is already there, isn't it?

    ReplyDelete
  4. The problem with Omni and Lazarus it's that in fact its another IDE, so I really woluld not be either alt+tabing nor using a specific tool for some tasks; I'd rather like something "small" that could be pluged in right into the IDE (thinking of a plugin like Parnassus) and also there is the fact that I'm kinda "self programmed" to use the Delphi IDE Tools (Parnassus Navigator and Bookmarks, TestInsight, CodeInsight Plus, shortcuts, and so on) which are not present on Omni or Lazarus (maybe there are equivalent but I'm already "auto pilot")

    ModelMaker seems to be the one closer to my expectations.. one problem I see it is that it comes with a truckload of features. Some of the are already covered by other things but I will give it a shot any way

    That's because I think that plugins like Navigator, Bookmarks or TestInsight got it right: they are just a small tool that offer one single feature and doesn't come along with so much stuff that you probably already have or dont need

    Anyways thanks all!!

    ReplyDelete

Post a Comment