Menu

#59 Finer grained control on warnings....

open
nobody
None
5
2008-12-18
2008-12-18
No

The warnings functionality is great however:

- The ability to turn the ones wanted on and off would be handy
- Also when it comes to empty begin..end blocks it would be nice if I could specify when it is *really* empty. Eg.

TMyClass_Base = class(TObject)
procedure MyMethod; virtual;
end;

TMyClass_Base.Mythod;
begin
//Do nothing in the base class
end;

For the code implementation I don't want to declare the method as virtual; abstract; as it is not suitable for the implementation. However as it is virtual I need to implement it but want to annotate that it does nothing in the base class. So in the above circumstance I don't want a warning ie. if the method contains only comments then optionally dont display the warning.

Discussion


Log in to post a comment.