Delphi

Generatore di immagini di codice Delphi

Trasforma gli snippet Delphi in immagini che vale la pena condividere, senza uscire dal tuo Mac.

Object Pascal has a distinctive begin and end structure that reads clearly in an image and gets mangled by editors that reindent on paste.

Codeshot riconosce Delphi dal codice che incolli, quindi non c’è nessun selettore di linguaggio da sbagliare. Ecco lo stesso snippet in tre dei 30 temi inclusi, resi con i fogli di stile dell’app.

type
  TSnapshot = class
  private
    FCode: string;
    FScale: Integer;
  public
    constructor Create(const ACode: string; AScale: Integer = 2);
    function ExportTo(const APath: string): Boolean;
  end;
GitHub · scuro
type
  TSnapshot = class
  private
    FCode: string;
    FScale: Integer;
  public
    constructor Create(const ACode: string; AScale: Integer = 2);
    function ExportTo(const APath: string): Boolean;
  end;
Solarized · scuro
type
  TSnapshot = class
  private
    FCode: string;
    FScale: Integer;
  public
    constructor Create(const ACode: string; AScale: Integer = 2);
    function ExportTo(const APath: string): Boolean;
  end;
Xcode · scuro

Scegliere un tema per Delphi

Keep matching begin and end pairs inside the frame. Cropping one leaves a snippet that looks unbalanced and wrong.

Azzeccare la misura

Lascia che l’immagine segua il contenuto o bloccala su un rapporto — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 o 3:4 — poi esporta a 1×, 2× o 3× così resta nitida su uno schermo retina. Copiala negli appunti con C oppure salvala con S.

Guarda tutti i 30 temi a confronto oppure leggi il flusso completo.

Pensato per Delphi e altri 59 linguaggi

Tutto gira sul tuo Mac. Il tuo codice non lo lascia mai.

Scarica per macOS