![]() |
AW: Neuer FixInsight ist da!
Zitat:
Neuer Code mit with kann bei uns schlicht nicht mehr eingecheckt werden, aber als Qualitäts- und Stabilitätsprüfung des Codes wäre auch die Prüfung auf die Verwendung von with an sich als Regel sinnvoll. |
AW: Neuer FixInsight ist da!
Zitat:
§2: Sollte A, widererwartens einen Fehler machen gilt automatisch §1. ;) |
AW: Neuer FixInsight ist da!
Zitat:
Übrigens benutzt FixInsight ![]() Immerhin spuckt FixInsight aber die Zeile des Fehler aus und gibt nicht sang und klanglos den Geist auf (oder lässt die IDE krachen...) |
AW: Neuer FixInsight ist da!
Sorry guys, I don't speak German. I will reply in English, I hope this doesn't violate the website policy.
Zitat:
It's a little bit not correct to say that FixInsight uses Castalia parser. It uses DelphiAST which is built on the top of CastaliaDelphiParser and was much improved. So it's not something like "parser is good, you have to fix your own code". Please let me know about the issues and I will fix them. Zitat:
|
AW: Neuer FixInsight ist da!
Welcome Roman, it's OK to post in english. Stop by here more often ;)
Sherlock |
AW: Neuer FixInsight ist da!
Zitat:
|
AW: Neuer FixInsight ist da!
Hallo,
habe heute mal die Demo installiert. Bei Aufruf mit einem meiner Projekte kommt ein EStringListError in Classes.TFileIterator.Next. (nach madExcept) Eine Ausgabe kommt dann bei continue trotzdem. Umständlich ist, dass mich die meisten units des Projektes gar nicht insteressieren. Bei Aufruf von Kommandozeile geht gar nichts. D.h. FixInsightCL nacht eine kleine Pause und beendet dann. Zumindest bei --output und --xml hätte ich eine leere xml erwartet. |
AW: Neuer FixInsight ist da!
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Please download the latest build ![]() Unfortunately, I cannot reproduce the issue with FixInsightCL. Could you do me a favor and help to debug it? If so, in your IDE click on Help -> About FixInsight and check "Debug Mode" option ( ![]() |
AW: Neuer FixInsight ist da!
How can one surpress FixInsight warnings locally? I might, for example, leave an overridden virtual method empty on purpose. FixInsight is correctly raising a W519 here but the code is entirely valid and working as intended.
Oh, and while we're at it: There must be an option to exclude files. If you got some third party sources, gnugettext.pas for example, you're also going to get warnings on files you definitely don't want to modify. I'm sure this is already on uservoice but I haven't bothered to check :oops: One last thing: C104 ("Class name should start with 'T'") is true, but I suppose it doesn't apply to attributes. ![]() Also, Marco Cantus new book states Zitat:
|
AW: Neuer FixInsight ist da!
Zitat:
For example,
Delphi-Quellcode:
I have to add this to the documentation. I have never expected that so many people will need this functionality :)
{$IFNDEF _FIXINSIGHT_}
ThisCodeWillBeIgnored(1,2,3); {$ENDIF} Zitat:
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 02: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