Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sLesage

  • Birthday 06/16/1971

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio
  1. sLesage

    Running the IDE in a VM on Mac Book Pro?

    I will never say never ... but in the 15 years I've switched to Mac I've never had any big problems at all, not once ... I did however have a key pop loose from an external keybaord but that was only on me to blame. For me ... in the long run Mac's are cheaper than PC's. Yes my trashcan MacPro costed a fortune ... but that was in 2012 and it's still running perfectly fine. So over the period of 7 years it wasn't even all that expensive. If the 'gaming setup i9 9900' machine I've build lasts for 3 years I'd be more than happy, but I'm almost sure that within 2 years I'll have made some changes to the build.
  2. sLesage

    On The Design Of Uses Clauses

    Well ... I actually though I had tried that but with Compressed=1 becuase I thought it would put 1 uses on every line. But now I get it ... it's just a boolean, nut the number of units on a line. Loving it already ... Currently I have this approach but might be fooling around with the groups. [Settings] Indentation=2 Compressed=0 MaxLineLength=80 SearchPath=c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release; UnitAliases=WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; UnitScopeNames=Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;System;Xml;Data;Datasnap;Bde;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell GroupNames=@DelphiOTA;Winapi;System.Win;System;Data;FireDAC;Datasnap;REST;Vcl;cx*;dx* [Groups] DelphiOTA=ToolsAPI;DesignIntf;DesignEditors Oh ... and I know I'm exagerating here ... but an option to add the GroupNames as a comment line before the first Uses ? And maybe an option to add a blank line between every group of uses ? I know I'm probably one of the very few peeps who does it like that, so no worries if it isn't possible.
  3. sLesage

    On The Design Of Uses Clauses

    I like this ... This in combination with a remove unused units would be heaven for me ... Well maybe a remove unused unit which would also move uses from Interface to Implementation if they aren't needed in the interface section 🙂 what does the Compressed setting in the Config file do ? Havn't been able to make it do anything ... or I don't know what it does.
  4. sLesage

    On The Design Of Uses Clauses

    This looks interesting ... Some Suggestions / Ideas : Option to put every unit on it's own line Option to put an empty line in between groups I will give it a few more spins on bigger projects to see if everything works OK.
  5. sLesage

    On The Design Of Uses Clauses

    I've actually been using a similar approach too. But as a Delphi Consultant I've seen very strange things already ... The order of the Uses clause might actually be important especially when some variables or other things get set up in the Initialisation section of a unit. Oh and @Uwe Raabe any news on the tool ? Been searching for a good tool which can detect unused units / restructure uses clauses for a while now.,
  6. sLesage

    Running the IDE in a VM on Mac Book Pro?

    So ... my 2 cents ... I've been using Macs since forever and have been using the MacBook Pro as my main laptop for almost 12 years now. I use OSX for everything except of course when working on Delphi projects, then I have a VM especially for that specific customer / project. Yes ... a separate VM for specific clients / projects since some clients / projects use certain (versions of) components which are different to the ones used by another client / project. I only use the VM for Delphi ... mails, surfing, ... is done on the OSX side, so risk for virus infections is ... well ... very small. With regards to price of the products ... well ... they are comparable to similar configurations / build types and yes ... maybe a bit more expensive. But don't believe the people who tell you they are 6000 euro and you have to buy a new one after 3 years, that is just not true. My latest MacBook Pro costed me about 3000 euro, and it's still running nicely and fine after about 5 years, the MacPro I have at home is now about 7 years old and still perfectly fine. The average lifespan of my Macs is around 4 to 6 years after which I just replace them with the latest and greatest, safe and secure system. Yes the initial price is a bit higher than a similar build / spec PC version and a lot higher than a similar spec / plastic build PC, but over the run of the 4 to 6 years I would argue they might even be a bit cheaper. And yes ... the build quality is there. One day I had put my MacBook Pro in my backpack and left the office. Outside I swung my backback on my back only to hear something drop out of it and fall on the concrete floor (even sliding a meter or two). Yes ... I had forgotten to close the zipper. Luckily ... full Aluminium body and SDD saved the machine. I'm still using it 3 years later wihtout any problems. Don't think the cheapo plastic versions would have survived this.