-
Content Count
2750 -
Joined
-
Last visited
-
Days Won
162
Everything posted by Uwe Raabe
-
What is the benefit of sorting the Uses clause?
Uwe Raabe replied to RCrandall's topic in MMX Code Explorer
That's default. -
Uses clause: List of unit names forming a group
Uwe Raabe replied to JonRobertson's topic in MMX Code Explorer
Not yet. It is. All units not matching a group are placed after the grouped units. -
What is the benefit of sorting the Uses clause?
Uwe Raabe replied to RCrandall's topic in MMX Code Explorer
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. -
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.
-
UsesCleaner: Consider case for grouping?
Uwe Raabe replied to uligerhardt's topic in MMX Code Explorer
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. -
I didn't try it.
-
ModelMaker IDE Integration Expert for Delphi 10.4
Uwe Raabe replied to Ilde's topic in MMX Code Explorer
Now it is. -
Error starting D12 after Settings Migration
Uwe Raabe replied to M.Joos's topic in Delphi IDE and APIs
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. -
D11.3, Search, Whole words only - randomly checked
Uwe Raabe replied to mvanrijnen's topic in Delphi IDE and APIs
This is fixed in Delphi 12. -
UsesCleaner: Retain comments in uses clause?
Uwe Raabe replied to uligerhardt's topic in MMX Code Explorer
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. -
"Auto complete used units" does not recognize units without unit scope.
Uwe Raabe replied to JonRobertson's topic in MMX Code Explorer
Can you reproduce on a minimal project? I just copied that uses clause into a fresh VCL project and everything works as expected. -
"Auto complete used units" does not recognize units without unit scope.
Uwe Raabe replied to JonRobertson's topic in MMX Code Explorer
Can you show the Unit Scope Names entry in your project options, please? -
Can you check the MMX properties Key bindings for Format Uses Clause, please? Also make sure that no other plugin steals that shortcut.
-
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.
-
Dellphi 12: IDE's F6 Search box still faulty
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
I believe that not reporting an issue most likely lead to nothing. -
Dellphi 12: IDE's F6 Search box still faulty
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
Is there a report for that? -
Delphi 12: The Install Packages window still has no Filter box
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
No need for that: Add a FILTER SEARCH BOX in the Install Packages dialog -
The following code lists 355480 files in less than 15 seconds on my system. program TestGetFiles; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, System.IOUtils, System.Diagnostics; procedure Main; begin var sw := TStopwatch.StartNew; var arr := TDirectory.GetFiles('C:\Windows', '*', TSearchOption.soAllDirectories); Writeln(Format('%d Files, %d ms', [Length(arr), sw.ElapsedMilliseconds])); end; begin try Main; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; Readln; end. The dir command needs a lot of time to display the files, while the Delphi code avoids that.
-
Are there current issues with QualityPortal?
Uwe Raabe replied to Rollo62's topic in Software Testing and Quality Assurance
Indeed! It is working here, too. -
[SOLVED] Delphi 12, FireDac, SQLite : capability not supported
Uwe Raabe replied to weabow's topic in Databases
It may depend on the uses list and its order. The different Stat units register different default values: {FireDAC.Phys.SQLiteWrapper.FDEStat} initialization TSQLiteLib.GLibClasses[slDefault] := TSQLiteLibFDEStat; TSQLiteLib.GLibClasses[slFDEStatic] := TSQLiteLibFDEStat; {FireDAC.Phys.SQLiteWrapper.SSEStat} initialization TSQLiteLib.GLibClasses[slDefault] := TSQLiteLibSEEStat; TSQLiteLib.GLibClasses[slSEEStatic] := TSQLiteLibSEEStat; {FireDAC.Phys.SQLiteWrapper.Stat} initialization TSQLiteLib.GLibClasses[slDefault] := TSQLiteLibStat; TSQLiteLib.GLibClasses[slStatic] := TSQLiteLibStat; Manually adding FireDAC.Phys.SQLiteWrapper.FDEStat to the uses may solve the problem. I'd rather set the mode to an explicit value instead relying on a volatile default. -
[SOLVED] Delphi 12, FireDac, SQLite : capability not supported
Uwe Raabe replied to weabow's topic in Databases
That is mentioned in the What's New: FireDAC SQLite Version Update -
So, file a feature request...
-
It has been quite a while, but I had a good experience with CANUSB.
-
I don't see how downloading a VS Preview would solve that problem.
-
What makes you think so? At least in my standard installation these folders are located under c:\Users\Public\Documents\Embarcadero\Studio\xx.x and c:\Users\<user>\Documents\Embarcadero\Studio\xx.x