Enter forum description here ...
No similar topics found.

0
Fixed
Command-line shortcut is wrong and closes immediately
The Start Menu item to the command-line tool closes immediately (click it, a command-line window flashes up and vanishes.) This is because it links directly to the tool, which runs and ends.
It should prefix the call to the command-line tool with "cmd /k", ie "cmd /k c:\path\to\fixinsightcl.exe" which opens a new command line window, which will stay open when FixInsightCL closes.
It should prefix the call to the command-line tool with "cmd /k", ie "cmd /k c:\path\to\fixinsightcl.exe" which opens a new command line window, which will stay open when FixInsightCL closes.

0
Fixed
[W527] False positive with inherited
inherited access to a property leads to false positive W527
[code]
interface
type
TFoo = class(TObject)
private
FReadOnly: Boolean;
public
property ReadOnly: Boolean read FReadOnly write FReadOnly;
end;
TBar = class(TFoo)
private
procedure SetReadOnly(Value: Boolean);
published
property ReadOnly: Boolean write SetReadOnly;
end;
implementation
{ TBar }
procedure TBar.SetReadOnly(Value: Boolean);
begin
inherited ReadOnly := Value;
end;
[code]
[code]
interface
type
TFoo = class(TObject)
private
FReadOnly: Boolean;
public
property ReadOnly: Boolean read FReadOnly write FReadOnly;
end;
TBar = class(TFoo)
private
procedure SetReadOnly(Value: Boolean);
published
property ReadOnly: Boolean write SetReadOnly;
end;
implementation
{ TBar }
procedure TBar.SetReadOnly(Value: Boolean);
begin
inherited ReadOnly := Value;
end;
[code]

0
Fixed
[W504] False positive with objects inherited from TObject
Constructors for classes directly inherited from TObject without inherited call lead to false positive W504. It is a convention to write inherited in that case.
type
TFoo = class(TObject)
public
constructor Create;
end;
constructor TFoo.Create;//<- False positiv W504
begin
end;
type
TFoo = class(TObject)
public
constructor Create;
end;
constructor TFoo.Create;//<- False positiv W504
begin
end;

0
Not a bug
FixInsight 2015.08 exits with no results
Just installed the last version. run it and no result are outputed, it just exits

0
Planned
File filter should not prevent current unit from being processed
Currently, when a file is added to the "Ignore Units" list in the configuration dialog, it isn't processed even when the user requests that with Project -> Run FixInsight for <this very unit>.
In this case the filter should be ignored.

0
Fixed
[W527] Private classes are not checked
W527 is not used for private classes
[code]
unit W527Private;
interface
implementation
type
TBar = class(TObject)
private
procedure SetReadOnly(Value: Boolean);
published
property ReadOnly: Boolean write SetReadOnly;
end;
procedure TBar.SetReadOnly(Value: Boolean);
begin
ReadOnly := Value;
end;
end.
[code]
[code]
unit W527Private;
interface
implementation
type
TBar = class(TObject)
private
procedure SetReadOnly(Value: Boolean);
published
property ReadOnly: Boolean write SetReadOnly;
end;
procedure TBar.SetReadOnly(Value: Boolean);
begin
ReadOnly := Value;
end;
end.
[code]

0
Started
Tab order is wrong in Config dialog
The tab order of the OK and Cancel buttons is reversed in the Config dialog

0
[Cxxx] suggestion: "with spans more than nnn lines"
I often see people use "with myobject do ..." at the very first line of a method.
In order to catch "with" statements that are hidden from the users sight and mind, because they cover a too big scope, I'd like to have a convention that allows to check for just this.
Customer support service by UserEcho