Menu

#92 Add stand alone Code Formatter to the installer / start menu

None
closed-fixed
nobody
None
5
2020-04-14
2019-11-23
No

Currently there is no start menu entry for the stand alone formatter. I'm not sure whether it is in the installer at all. It should be there and it should have an entry. It should also probably have a short help on the command line parameters.

Discussion

  • Thomas Mueller

    Thomas Mueller - 2019-11-23
    • status: open --> closed-fixed
    • Group: -->
     
  • Thomas Mueller

    Thomas Mueller - 2019-11-23

    Done in GExperts 1.3.15

     
  • zed

    zed - 2020-04-14

    When I try to run GExpertsFormatter.exe (used installer GXRS10.3_1.3.15_experimental-twm_2019-11-23.exe) from start menu or explorer it fails with error about some Delphi .bpl file(s) (see attached screenshotes).

    Can you fix this to make formatter to be really stand alone?

     

    Last edit: zed 2020-04-14
    • Thomas Mueller

      Thomas Mueller - 2020-04-14

      Is your $(BDS)\bin directory part of the Windows PATH variable?

      If yes, is your search path maybe too long? There seems to be a limit of about 2000 characters after reaching which very strange things happen. Then this or this tool might help.

       
      • zed

        zed - 2020-04-14

        No, it isn't and I don't want to add it. This issue is about stand alone formatter, right? So, what if I want to run formatter on PC whithout Delphi at all? Is it possible to provode GExpertsRS103.dll without depending on .bpl or GExpertsFormatter.exe without depending on GExpertsRS103.dll?

         
        • Thomas Mueller

          Thomas Mueller - 2020-04-14

          No, the DLL cannot be compiled without packages, because that's a requirement to work as an expert. It would be possible to compile the formatter as a stand alone executable though. In fact that is what the formatter unit tests do.
          So if you want to take the time doing that, I'll accept a patch.

           

Log in to post a comment.