cnwizards icon indicating copy to clipboard operation
cnwizards copied to clipboard

Code Formatter update Case based on vars, arguments bug

Open Sorien opened this issue 8 years ago • 1 comments

// before formatting

function TZConnectionHelper.ExecuteSelect(const Sql: string): TZReadOnlyQuery;
begin
  Result := TZReadOnlyQuery.Create(nil);
  Result.SQL.Text := Sql;
end;

// after formatting

function TZConnectionHelper.ExecuteSelect(const Sql: string): TZReadOnlyQuery;
begin
  Result := TZReadOnlyQuery.Create(nil);
  Result.Sql.Text := Sql;

Result.SQL.Text changed to Result.Sql.Text

Sorien avatar Sep 14 '16 08:09 Sorien

Not easy to distinguish, now simply disabled 'Property' case correction.

shanzhashu avatar Sep 15 '16 03:09 shanzhashu