I will try to make a case, but I don't know what causes the problem. The completion works with some units, at least after you press F9 (which is annoying too). It doesn't work at all with one of our core units, which is 12000 lines of code and has a lot of dependencies.
fyi, there are a couple of open cases, tied with arrays, that block code completion and are being addressed with Update 2
ReplyDelete/sub
ReplyDeleteI will try to make a case, but I don't know what causes the problem. The completion works with some units, at least after you press F9 (which is annoying too). It doesn't work at all with one of our core units, which is 12000 lines of code and has a lot of dependencies.
ReplyDeleteIt worked in XE2, btw
ReplyDeleteSo yeath, it definetly doesn't like this line:
ReplyDeletefclNpF, fcclNpF: array [1..2] of TDynArray;
Is this issue already filed? Cool.
Workaround of the issue is to replace TDynArray by newly created type like here below:
ReplyDeletetype
TCurveNearestPointFinderArray = TDynArray;
var
fclNpF, fcclNpF: array [1..2] of TCurveNearestPointFinderArray;
and place it in a different unit
ReplyDeleteIt sure is annoying. Constructs like
ReplyDeleteTClass = class(TParent)
EnumField: TParent.TEnumWrapper;
end;
frequently breaks completion for me.