Menu

#128 Enhancement Request - Uses Clause Manager

None
closed-fixed
5
2026-02-18
2020-11-22
Ian Branch
No

Can the formatting of the Uses Clause by the Uses Clause Manager be added as it happens in the UsesCleaner
Preferred format is similar to as follows but that is my preference, others seem to prefer one entry per line, others may prefer a single continuous set....

uses
  Winapi.Windows, Winapi.Messages,
  System.SysUtils, System.UITypes, System.TimeSpan, System.ImageList, System.Variants, System.Classes,
  Data.DB,
  vcl.wwdbgrid, Vcl.Buttons, Vcl.Grids, vcl.wwdbigrd, Vcl.DBCtrls, Vcl.ImgList, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
  Vcl.StdCtrls, Vcl.ExtCtrls;

Line length dictated by the formatter line length setting.
This may mean some consideration in the Code Formatter tool too.

Regards & TIA,
Ian

Discussion

  • Thomas Mueller

    Thomas Mueller - 2026-02-14
    • labels: Uses Clause, Delphi --> Uses Clause, Formatter
    • Group: -->
     
  • Thomas Mueller

    Thomas Mueller - 2026-02-18
    • status: open --> closed-fixed
    • assigned_to: Thomas Mueller
     
  • Thomas Mueller

    Thomas Mueller - 2026-02-18

    implemented in revision #5141 (previous revisions had already implemented parts)

     

Log in to post a comment.

MongoDB Logo MongoDB