Jump to content

Uwe Raabe

Members
  • Content Count

    2837
  • Joined

  • Last visited

  • Days Won

    168

Everything posted by Uwe Raabe

  1. Saving the form will add an entry to the history, which can be reverted to later.
  2. Uwe Raabe

    SonarDelphi v1.0.0 released!

    My last comparison was a few years ago. At that time they were almost on par. Personally I prefer Pascal Expert, but mostly because it works similar to its companion Pascal Analyzer, which also provides a command line tool usable for build integration.
  3. Uwe Raabe

    SonarDelphi v1.0.0 released!

    Indeed, compared to the history for Peganza Pascal Expert it looks a little bit behind.
  4. Uwe Raabe

    What is the benefit of sorting the Uses clause?

    If all else fails - plug it in.
  5. IMHO, last month doesn't really qualify for no activity. It is side project for someone with a full-time job at last.
  6. Uwe Raabe

    What is the benefit of sorting the Uses clause?

    In MMX properties - Pascal - Sorting - Format unit uses clauses make sure that Group and sort uses is checked.
  7. Uwe Raabe

    What is the benefit of sorting the Uses clause?

    As that is a very personal preference, a similar feature is implemented on personal request in UsesCleaner branch FlixEngineering. It is available in the public repository for all those having individual formatting requests. Note that MMX will most likely not contain these for the near future.
  8. Uwe Raabe

    What is the benefit of sorting the Uses clause?

    Better remove the trailing dots in Frame and Form. Plain group names get that automatically appended when looking for a match. F.i. a simple entry like Form matches unit names Form, Form.Tools and Form.Test, but not FormTest. Assuming that the x stands for the obfuscated parts in your screenshot, I get the following results with this Groups: Winapi System.Win System Vcl Data FireDAC cx DM x x.Tools Frame Form uses System.Classes, System.SysUtils, System.Variants, System.Generics.Collections, System.Generics.Defaults, System.DateUtils, System.Math, System.StrUtils, Vcl.Imaging.pngimage, Data.DB, FireDAC.Stan.Param, FireDAC.Stan.Option, FireDAC.Comp.Client, FireDAC.Comp.Script, x.Classes.Common, x.Classes.Base, x.Classes.Data, x.Constants, x.Types, x.Database.Common, x.Preferences, x.Tools.Mapping, x.Tools.DateTime, x.Tools.TryFinally, x.Tools.Json, x.Tools.Regex, x.Tools.IO, x.Tools.BitMask, DataModuleTextConstants;
  9. Uwe Raabe

    What is the benefit of sorting the Uses clause?

    And for completeness: What are the defined groups?
  10. Uwe Raabe

    Uses clause: List of unit names forming a group

    Not yet. It is. All units not matching a group are placed after the grouped units.
  11. Uwe Raabe

    What is the benefit of sorting the Uses clause?

    Brackets denote a list of unit names forming a group. I use it f.i. for keeping the ToolsApi units together: (ToolsApi,DesignIntf,DCCStrs,DockForm,TabDock) The example shows a glitch in the TMS unit naming: Adv* followed by (BaseGrid) keeps the TMS Grids unit together. The other example (ZipForge) is used when a group consists of a single unit name only. Omitting the brackets would take it as a unit scope name instead.
  12. Uwe Raabe

    Delphi 12 internal errors

    With Premium you get early beta access, while an active subscription entitles you to participate in the public beta. In most cases the latter should be sufficient.
  13. Uwe Raabe

    UsesCleaner: Consider case for grouping?

    Unfortunately not - and it would be quite difficult to implement that with reasonable effort. Wildcards are handled by TMask.Matches and that has a hardcoded Upcase in its implementation.
  14. Uwe Raabe

    Delphi 12 is available

    I didn't try it.
  15. The Migration Tool has a special mode for migrating to a newer version, which requires to select the appropriate settings. Did you follow these when migrating? If yes and it didn't work, you should file a bug report.
  16. This is fixed in Delphi 12.
  17. Uwe Raabe

    UsesCleaner: Retain comments in uses clause?

    Unfortunately that is by design as comments in uses clauses are considered not clean. Background: It is pretty hard to connect the comment to one of the used units - there is too much convention involved with this. Also, line end comments don't play well with grouping and line wrapping. There are non plans to change this any time soon.
  18. Can you reproduce on a minimal project? I just copied that uses clause into a fresh VCL project and everything works as expected.
  19. Can you show the Unit Scope Names entry in your project options, please?
  20. Uwe Raabe

    Ctrl-Alt-U doesnt seem to work.

    Can you check the MMX properties Key bindings for Format Uses Clause, please? Also make sure that no other plugin steals that shortcut.
  21. Uwe Raabe

    Delphi 12 List Objects x64

    With Delphi 12 the Index type of TList as well as Count has changed from Integer to NativeInt. While this has no effect in 32 bit, with 64 bit it definitely has. Check all descendants of TList if there are any declarations of properties (f.i. Items) or methods with Index type Integer which act as overloads for the base declarations. Then change these Integer types to NativeInt.
  22. Uwe Raabe

    Dellphi 12: IDE's F6 Search box still faulty

    I believe that not reporting an issue most likely lead to nothing.
  23. Uwe Raabe

    Dellphi 12: IDE's F6 Search box still faulty

    Is there a report for that?
×