Hi there,
if keywords like “nil” or “new” in property getters are used, then “Complete class” (Ctrl-Shift-C) does not do anything anymore.
Example:
namespace ConsoleApplication2;
interface
type
Test = public class
private
public
method Xxz;
property Prop1: Test read nil; static;
property Prop2: Test read new Test; static;
end;
Program = class
public
class method Main(args: array of String): Int32;
begin
end;
end;
implementation
end.
You have to comment out “Prop1” and “Prop2” before you can invoke “Complete class”.