PostfixCompletion

Postfix Code Completion Templates

Template Result
as (expr as typeIdentifier)
asInteger Integer(expr)
asPAnsiChar PAnsiChar(expr)
asPChar PChar(expr)
assertNotNil Assert(expr <> nil, ‘expr <> nil’);
assignBy expr := expr
assigned Assigned(expr)
call method(expr)
cast TypeIdentifier(expr)
checkAssigned (*) Guard.CheckTrue(Assigned(arg), ‘arg’);
checkEnum (*) Guard.CheckEnum(arg, ‘arg’);
checkNotNil (*) Guard.CheckNotNil(arg, ‘arg’);
checkSet (*) Guard.CheckSet(arg, ‘arg’);
clear expr := [];
contains (| in expr)
default Default(TypeIdentifier)
exit Exit(expr);
exitIfNil if expr = nil then Exit;
exitIfNotAssigned if not Assigned(expr) thenExit;
fillChar FillChar(expr, SizeOf(expr), 0);
first expr[LowBound]
format Format(expr, [])
for for i := LowBound to HighBound do
begin
|
end;
forin for item in collection do
begin
|
end;
forr for i := HighBound downto LowBound do
begin
|
end;
freeAndNil FreeAndNil(expr);
getTypeKind GetTypeKind(TypeIdentifier)
if if expr then
ifAssigned if Assigned(expr) then
ifNil if expr = nil then
ifNotAssigned if not Assigned(expr) then
ifNotNil if expr <> nil then
in (expr in |)
is (expr is TypeIdentifier)
isEmpty (expr = [])
isNot not (expr is TypeIdentifier)
last expr[HighBound]
length Length(expr)
nil (expr = nil)
not not expr
notAssigned not Assigned(expr)
notIn not (expr in |)
notIs not (expr is |)
notNil (expr <> nil)
paren (expr)
raise raise expr;
sizeOf SizeOf(expr)
supports Supports(expr, IID, Intf)
to | := expr;
try variable := expr;
try
|
finally
variable.Free;
end;
typeInfo TypeInfo(TypeIdentifier)
update expr.BeginUpdate;
try
|
finally
expr.EndUpdate;
end;
var variable := expr;
while while expr do
begin
|
end;
nameof ‘symbol’
type exprType
setLength SetLength(expr, |);
low Low(expr)
high High(expr)
copy Copy(expr, index, count)
include Include(expr, |);
exclude Exclude(expr, |);