[Progress Communities] [Progress OpenEdge ABL] Generate methods, constructors, destructors and events in a standard way

  • Thread starter Thread starter mircea.alexandru
  • Start date Start date
Status
Not open for further replies.
M

mircea.alexandru

Guest
I currently like using the shortcuts to generate a needed Method, Constructor/Destructor or Event, mostly because it's added alphabetically (which I like) and because it generates the comment section. But I can also notice the way it does that is not standard when it comes to the parentheses (). Basically: - a Constructor looks like: "CONSTRUCTOR PUBLIC MyConstructor ( ):" -> space after name + 2 spaces inside parentheses. - a Destructor looks like: "DESTRUCTOR PUBLIC MyDestructor ( ):" -> space after name + 1 space inside parentheses. - a Method looke like: "METHOD PROTECTED VOID MyMethod( ):" -> no space after name + 2 spaces inside parentheses. - an Event looks like: "DEFINE PUBLIC EVENT MyEvent SIGNATURE VOID ()." -> space after name + no space inside parentheses. I would very much like only one please, like "MyMethod()" -> no space after name + no space inside parentheses, pretty much like C#, Java etc. 2nd, I would very much like to be able to generate a missing method as a refactoring tool, after selecting a method name inside my implementation. Example: ... THIS-OBJECT:MyMissingMethod(iCharacterValue). ... "MyMissingMethod" does not exist yet, so I would like to be able to select the text and generate the missing method including parameters (in this case an input character).

Continue reading...
 
Status
Not open for further replies.
Back
Top