Forum: Klatsch und Tratsch
by Stevie,
3. Mär 2016
Trag die Sachen doch einfach in den offiziellen bugtracker ein.
Forum: Klatsch und Tratsch
by Stevie,
26. Mär 2015
For exactly the element it was put on. In this case for the entire method. Personally I would not make it too fine grained.
In the end we want to find bad code and not put suppress rule directives all over the place, right?
As I said, the current implementation of DelphiAST limits the possibilities. Comments won't work either since they are not part of the generated AST (afaik).
To my...
Forum: Klatsch und Tratsch
by Stevie,
26. Mär 2015
Given how DelphiAST works I think that is not so trivial. The trick with the $IFNDEF just works because it ignores that part of code because the define is set by FixInsight.
For using the same technique it would require multiple parses for each rule or including ifdefs into the AST which currently is not the case.
A different approach could be like rule suppressions in StyleCop work.
But...
Forum: Klatsch und Tratsch
by Stevie,
11. Feb 2015
Gut, dass du es nicht gesagt hast - es wäre nämlich falsch gewesen.
Es gibt die sogenannten QA Audits - die können ein klitzekleines bisschen mehr, als FixInsight. Allerdings sind die meisten davon erst ab Enterprise enthalten.