Announcement

Collapse
No announcement yet.

SrcFrmt-v2.02 (source code formatter) bug-fix release

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SrcFrmt-v2.02 (source code formatter) bug-fix release

    SrcFrmt-v2.02 (a source code formatter) bug-fix release.

    SrcFrmt is a source code formatter for PBDLL and PBWin7.

    Bugs fixed:
    • Improperly indented block statements when they were isolated
    • Put spaces after minus signs beginning continued lines in code such as:
      If _
      -%Equ1 Then DoSomething
    • Put spaces after minus signs in asm lines such as these:
      ! mov eax, -1
      ! mov eax, -&H1234


    All-In-One
    Has been updated to include SrcFrmt v2.02. All-In-One contains all the
    downloads from the IdeaTester project, for your convenience.


    TheirCorp's SourceForge project
    includes:
    • API Helper --- a code generator for the Win32 API
    • BinEditPlus --- a decompiler and more
    • ComHelper --- a code generator for the COM programming
    • "Flex" --- an editor with novel features
    • GDI Debug --- catches programming errors that could lead
      to resource leaks
    • Import Monitor --- (an API hook) Intercepts and monitors
      calls to imported functions
    • Intricately Mergeable Templates
    • Jellyfish Pro enhancer plugin (adds drag-and-drop and more..)
    • TheirEdit --- an editor for PowerBASIC code
    • TheirNote --- a KeyNote clone
    • TheirSheet --- a spreadsheet
    • SrcFrmt --- a source code formatter
    • Tooltipper --- a tooltip code generator


    PowerBASIC article in Wikipedia
    TheirCorp's projects at SourceForge

    TheirCorp's website

    sigpic

  • #2
    Tony,

    Thanks for providing all these nice tools for us !

    Question about SrcFrmt, regarding lines containing variable declarations (STATIC, LOCAL, ...):
    If I format code like this:

    Code:
    SUB DEBUG (st$)
        STATIC Hwnd&
        LOCAL szConsole     AS ASCIIZ * 255
        LOCAL ff         AS LONG
    ....
    END SUB
    the leading spaces or tabs in the declaration lines are removed like this:

    Code:
    SUB DEBUG (st$)
    STATIC Hwnd&
    LOCAL szConsole     AS ASCIIZ * 255
    LOCAL ff         AS LONG
    ....
    END SUB
    Personally, I prefer these lines also indented. Is there a way I can achieve this using the currently available settings ?

    Kind regards
    Eddy

    Comment


    • #3
      Indenting Locals

      Eddy,
      I don't think so. That should be easy to add though. Perhaps in the very near
      future...
      TheirCorp's projects at SourceForge

      TheirCorp's website

      sigpic

      Comment


      • #4
        In case you haven't seen the announcement...

        Eddy,
        In case you haven't seen the announcement, the new version (v2.1) is
        available, and it has the feature you requested.



        TheirCorp's SourceForge project
        includes:
        • API Helper --- a code generator for the Win32 API
        • BinEditPlus --- a decompiler and more
        • ComHelper --- a code generator for the COM programming
        • "Flex" --- an editor with novel features
        • GDI Debug --- catches programming errors that could lead
          to resource leaks
        • Import Monitor --- (an API hook) Intercepts and monitors
          calls to imported functions
        • Intricately Mergeable Templates
        • Jellyfish Pro enhancer plugin (adds drag-and-drop and more..)
        • TheirEdit --- an editor for PowerBASIC code
        • TheirNote --- a KeyNote clone
        • TheirSheet --- a spreadsheet
        • SrcFrmt --- a source code formatter
        • Tooltipper --- a tooltip code generator


        PowerBASIC article in Wikipedia
        TheirCorp's projects at SourceForge

        TheirCorp's website

        sigpic

        Comment


        • #5
          Tony,
          Thanks for that !
          Yes, I saw your post but I didn't have a chance to try it out yet.

          Kind regards
          Eddy

          Comment


          • #6
            Tony,
            thanks for all your hard work, SrcFrmt is a great tool.

            Comment


            • #7
              Tony

              Same here, handy tool, thank you
              Peter Maroudas

              Comment

              Working...
              X