![]() |
CodeFormating für Delphi 2007
Hi,
kann mir jemand ein, wenn möglich kostenloses Tool empfehlen für meinen Quelltext in Delphi 2007 zu formatieren.. Gruß Markus |
Re: CodeFormating für Delphi 2007
Hai Markus,
erst einmal: "Herzlich Willkommen in der Delphi-PRAXiS". Zitat:
![]() |
Re: CodeFormating für Delphi 2007
|
Re: CodeFormating für Delphi 2007
Zitat:
Kann man gut konfigurieren. Find ich klasse das Tool. |
Re: CodeFormating für Delphi 2007
Liste der Anhänge anzeigen (Anzahl: 1)
hab mir zwar doch nochmal diese CodeFormatierer angesehn, aber da bleib ich doch lieber bei meiner Handarbeit :?
hat sich in den letzten Jahren nicht viel geändert :angel2: JEDI Code Format arbeitet garnicht Zitat:
und DelForExp formatiert vorallem bei den "class operator"'s ganz schlimm
Delphi-Quellcode:
mit der Einrückung hat der echte Probleme
TByteRecEx = packed record
class Operator Implicit(Value: Byte): TByteRecEx; {$I FInline.} class Operator Implicit(Rec: TByteRecEx): Byte; {$I FInline.} class Operator Implicit(Value: TByteRec): TByteRecEx; {$I FInline.} class Operator Implicit(Rec: TByteRecEx): TByteRec; {$I FInline.} public case Byte of 0: (Org: Byte); 4: (Bin: Byte); 6: (Bits: TByteSet); end; TWordRecEx = packed record class Operator Implicit(Value: Word): TWordRecEx; {$I FInline.} class Operator Implicit(Rec: TWordRecEx): Word; {$I FInline.} class Operator Implicit(Value: TWordRec): TWordRecEx; {$I FInline.} class Operator Implicit(Rec: TWordRecEx): TWordRec; {$I FInline.} public case Byte of 0: (Org: Word); 4: (Bin: Word); 5: (Lo, Hi: Byte); 6: (Bits: TWordSet); 7: (Bytes: TByteArray2); end; // und das geht so weiter, bis zu weit nach rechts ... aus dem Bild raus meine Testdatei ist zwar schon "schön" formatiert (jedenfalls find ich es so übersicher) und sie ist auch fehlerfrei Aber falls wer doch 'nen CodeFormatierer kennt, welcher mit solchen Dateien kein Problem hat ... ich wäre bereit mir zumindestens mal dessen formatieren Text anzusehn :angel: |
Re: CodeFormating für Delphi 2007
Zitat:
|
Re: CodeFormating für Delphi 2007
hab hier nur'n 2006er, aber JCF ist nicht im Delphi installiert.
Dieser Fehler taucht jeweils direkt bei Verwendung von jcfGui.exe und JcfNotepad.exe auf (bei angehängter Testdatei) der JCF mag wohl solche Codezeilen nicht?
Delphi-Quellcode:
Das ; am Ende der letzten Zeile ist übrigens die Fehlerstelle.
TPoint = {$IFDEF INT_2} TSmallPoint {$ENDIF} {16:SmallPoint, 32:LongPoint, 64:LargePoint}
{$IFDEF INT_4} TLongPoint {$ENDIF} {$IFDEF INT_8} TLargePoint {$ENDIF}; Komischer Weise gibt es solche Zeilen auch schonmal weiter oben :gruebel: |
Re: CodeFormating für Delphi 2007
Es gibt ein
![]() |
Re: CodeFormating für Delphi 2007
Zitat:
Zitat:
|
Re: CodeFormating für Delphi 2007
Hallo Markus,
Hallo Forum, ist zwar ein alter Thread aber ich wollt hier wenigstens auch eine sinnvolle Alternative zu GExperts oder Jedi vorschlagen. Schaut euch doch mal die " ![]() Ich benutze das Tool seit einiger Zeit und auch die anderen Funktionen sind recht nett :) Viele Grüße sendet Andreas |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:25 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz