Funciones con Ctrl. + J.
arrayd + Ctrl. J .
array[0..|] of ;
arrayc + Ctrl J.
array[0..|] of = ();
cases + Ctrl J
Código:
case | of
: ;
: ;
end;
casee + Ctrl J
Código:
case | of
: ;
: ;
else ;
end;
classf + Ctrl J
Código:
T| = class(T)
private
protected
public
published
end;
classd + Ctrl J
Código:
T| = class(T)
end;
classc + Ctrl J
Código:
T| = class(T)
private
protected
public
constructor Create; override;
destructor Destroy; override;
published
end;
fors + Ctrl J
for | := to do
forb + Ctrl J
Código:
for | := to do
begin
end;
function + Ctrl J
Código:
function | (): ;
begin
end;
ifs + Ctrl J
if | then
ifb + Ctrl J
Código:
if | then
begin
end;
ife + Ctrl J
ifeb + Ctrl J
Código:
if | then
begin
end
else
begin
end;
procedure + Ctrl J
Código:
procedure | ();
begin
end;
trye + Ctrl J
tryf + Ctrl J
trycf + Ctrl J
Código:
| variable := typename.Create;
try
finally
variable.Free;
end;
whileb + Ctrl J
Código:
while | do
begin
end;
whiles + Ctrl J
while | do
withb + Ctrl J
Código:
with | do
begin
end;
withs + Ctrl J
with | do
También puedes personalizar los códigos que aparecen con Ctrl+J, en el menú de Tools, Editor Options, Code Insight.
Reconozco que casi nunca me acuerdo de utilizarlas, termino antes, con el método de toda la vida.
Saludos!