Results 1 to 31 of 31

Thread: Code formatting

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    66
    Anyone know any good (free) code formatters?

  2. #2
    Guest
    What do you mean by code formatting? Like indenting code a certian number of spaces in specific places?

  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    I wrote a VB addin a while back that will format the code.
    I usually use the addin not for my coding, because I indent as i type, but rather when I read somebody's else code.

  4. #4
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    that's a really god Idea Serge, could you send me a copy, or is it buried deep in your HD?

    [email protected]

  5. #5
    Guest
    I would like to have that too please.

    [email protected]

    if possible, I would like the source too

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    66
    That's what I meant Serge. It would be perfect!

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Thumbs up

    Send me a copy
    [email protected]
    Thanks
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Guys, I have sent you an Addin. Enjoy.

  9. #9
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    add-in

    send it my way to surge

    [email protected]

    Magiaus
    Visual Basic 6.0 SP5
    Visual C++ 6.0 SP5


    The only sovereign you can allow to rule you is reason.

  10. #10
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Sure.

  11. #11
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Talking A Copy To Me, Please

    Serge,

    I am looking for something almost exactly, except I am going to format a source file, without starting IDE. Exactly, I have a tool to generate source code, but after generate, it is terrible about the indentation. Your add-in seems to be very helpful to me.

    If you don't mind, would you send me the source, so that I modify a bit to format a file, instead of running in IDE mode.


    Thanks.... A LOT


    [email protected]

  12. #12
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    yeah serge, could you send it to me too

    thanks

    [email protected]

  13. #13
    Guest
    Can I also have a copy?

    Thanks in advance.

    [email protected]

  14. #14
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Unhappy Serge?

    Serge,

    I haven't receive the code formatter yet!

    Please send me a copy

  15. #15
    Banned
    Join Date
    Feb 2000
    Location
    Edmonton, AB, Canada
    Posts
    64

    Serge

    My, Serge, you seem to have become quite popular with your new toy.

  16. #16
    Guest
    People who want it should E-mail him instead of him having to check this thread all the time (it's old now)

  17. #17
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    kmchong, I have sent your the Addin.

  18. #18
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740
    Serge,

    I found this thread and I would like to ask if you could send me a copy of your add-in for formatting code.

    Many thanks

    [email protected]
    He who never made a mistake never made a discovery?

  19. #19
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    Serge

    I would like to have a look see at that add-in.

    randem@***********

    Thanks

  20. #20

  21. #21
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    That's what I say. Screw this emailing stuff. Post it somewhere!

    I'll even offer up the webspace if you don't want to/can't post it here.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  22. #22
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    The forum has no place for utilities, just code (CodeBank). Maybe we need a UtilityBank?

  23. #23
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    I concur.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  24. #24
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    I agree. I'm in the process of finishing off a VB add-in, and dont want the hassle of building a web-site just for that.


    by the way, I don't know if Serge is still reading this - he hasn't been around for a long time

  25. #25
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Neither has Hack. What happened to all the old guys??
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  26. #26
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    from what I remember they got bored of the same questions being asked constantly...

    for a while exactly the same questions got posted every hour or two (by different users), nobody bothered even looking for the answer on the first page of the gen. vb forum, let alone searching.

    it was tedious to say the least!

  27. #27
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    and you're saying it has changed?

    I can understand why they left tho... I guess the only reason I stick around is because I still need help sometimes and I enjoy helping where I can (even tho I'm a little off on some of my answers sometimes )

    But back to topic, I do think a Utility/Addin Bank would be useful.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  28. #28
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Originally posted by ober5861
    and you're saying it has changed?

    I can understand why they left tho... I guess the only reason I stick around is because I still need help sometimes and I enjoy helping where I can (even tho I'm a little off on some of my answers sometimes )
    it's a LOT better than it was, still annoying sometimes tho

    it's the same way for most regulars, keep up the good work ober

    Originally posted by ober5861
    But back to topic, I do think a Utility/Addin Bank would be useful.
    I've added a thread in forum feedback suggesting it...

    http://www.vbforums.com/showthread.p...hreadid=270631

  29. #29
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Excellent.

    >>keep up the good work ober

    You too
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  30. #30
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740
    Maybe it was a good thing I dug this thread up!.
    He who never made a mistake never made a discovery?

  31. #31
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    Navarone


    We shall see what the moderators have to say about that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width