Results 1 to 19 of 19

Thread: Code Organiser

  1. #1

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    Code Organiser

    I would love to clean up my code with tabs etc so I can see the structure more clearly. Is there a freeware program to do that (ie indent in a conditional clause/loop) or do I need to write one...?

    Sorry if someone has already posted about this, but I have searched and searched.
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  2. #2
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Do a search for vbdocumentor or i think the site is www.frameplus.com. They have a very good util to document the code to make it more readable.

  3. #3
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158
    Well that's what happens when you ignore those rules stated at the beginning of programming books.

    It's best to lean how to write clear maintainable code and not have to use these code-cleaning apps. As soon as you start to write code you should be indenting code blocks, I mean is it really that difficult to reach for the tab key?

  4. #4
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    i only remember about half the time to indent WHEN i am typing.

    Generally I write the sub....then go back and add the indents.

    when I get a thought in my head i have to type it out asap! no time for tabbing! LOL
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  5. #5
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    I indent as i go. Just need to get in the habit. It's not that hard. It also makes life a lot easier. Be a happy coder. Follow the rules. heheh.

  6. #6

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    I do the best I can now.

    I never learnt from books, just picked it up generally. But I wrote a lot of code without indents which I would now love to indent.

    Thanks! (the documenter is useful)
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  7. #7
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    whatever makes you happy. If coding without standards or rules makes you happy than so beit. The only thing i can say that one day that code may fall into the hands of a potential customer and then you have a lot of work cleaning up. What i usualy do is indent as i go. Then when i have the first version done i then do all of my clean up.

  8. #8

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    As I said,

    now I try to write with the rules. I want to clean up some of my old code.
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  9. #9
    Frenzied Member zuperman's Avatar
    Join Date
    Dec 2000
    Location
    Portugal
    Posts
    1,033
    search for PrettyCode.Print in
    www.planetsourcecode.com

    its a vey cool app, works like an add-in of VB6.

    Regards...
    Help keep this forum clean: Remember to mark your thread as resolved · Search before you post · Remember to rate posts that help

    VS2010: Visual Studio 2010 Keybinding Posters
    · Service Pack 1
    Tools: GhostDoc - automatically generates XML documentation comments
    · NuGet package Manager · PowerCommands IDE extensions
    Source Control: ankhsvn - integration for SVN
    · Windows Shell Extension for Subversion

    Development Laptop: Intel Core i5 430M 2.26 GHz @ 2.53 GHz
    · 4096 MB, DDR3 PC3-8500F (533 MHz), Kingston · ATI Mobility Radeon HD 5470 · 15.6 @ 16:9, 1366x768 pixel, HD LED LCD

    I follow:
    JoelOnSoftware - A weblog by Joel Spolsky, a programmer working in New York City, about software and software companies
    ScottGu's Blog - Scott Guthrie works for Microsoft as the Product Manager of the .NET Framework
    Portugal-a-Programar - Portuguese Developers Community
    .NET Rocks! - is a weekly Internet audio talk show for .NET Developers.

    Programming Languages:
    C#
    · VB.NET · JAVA · PHP · Javascript
    Other:
    XML
    · HTML · CSS · JQuery · SQL



    *** Proudly Portuguese ***

  10. #10
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    Try CodeSmart Very good program Free demo Fully Functional Only needs Serial Number.
    http://www.aivosto.com/

  11. #11

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    I'm afraid

    searching for PrettyCode.Print gives me no results. Any suggestions?
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  12. #12

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    And CodeSmart

    is about £100
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  13. #13
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    B ut you can download a demo and use it. its fully operational

  14. #14

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    It only allows you to use

    10 source files at once.
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  15. #15
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    10 source code files limitation is only the project Anylizer.
    For the code formatter its unlimited.
    He needs to use the Code Formatter.

  16. #16
    wossname
    Guest
    Why don't you guys write one instead of shelling out £loads of cash on it. Seems to me like you'll get some practice at indenting at the same time!

  17. #17

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    But

    Why don't you guys write one instead of shelling out £loads of cash on it. Seems to me like you'll get some practice at indenting at the same time!
    If you read my original request, I asked if anyone knew about a free version, as I do *NOT* want to waste my time frigging about writing a program. Obviously if there is no program I may be forced to write my own...
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  18. #18

    Thread Starter
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202

    Found

    PrettyCode.Print @ www.vbcity.com



    Thanks!
    Richard Charlton

    VB 6.0, Java 2.0, C++, PHP, Perl, HTML, Javascript

  19. #19
    Frenzied Member zuperman's Avatar
    Join Date
    Dec 2000
    Location
    Portugal
    Posts
    1,033

    Re: Found

    Originally posted by RCharlton
    PrettyCode.Print @ www.vbcity.com



    Thanks!
    ...lol...sorry...
    Help keep this forum clean: Remember to mark your thread as resolved · Search before you post · Remember to rate posts that help

    VS2010: Visual Studio 2010 Keybinding Posters
    · Service Pack 1
    Tools: GhostDoc - automatically generates XML documentation comments
    · NuGet package Manager · PowerCommands IDE extensions
    Source Control: ankhsvn - integration for SVN
    · Windows Shell Extension for Subversion

    Development Laptop: Intel Core i5 430M 2.26 GHz @ 2.53 GHz
    · 4096 MB, DDR3 PC3-8500F (533 MHz), Kingston · ATI Mobility Radeon HD 5470 · 15.6 @ 16:9, 1366x768 pixel, HD LED LCD

    I follow:
    JoelOnSoftware - A weblog by Joel Spolsky, a programmer working in New York City, about software and software companies
    ScottGu's Blog - Scott Guthrie works for Microsoft as the Product Manager of the .NET Framework
    Portugal-a-Programar - Portuguese Developers Community
    .NET Rocks! - is a weekly Internet audio talk show for .NET Developers.

    Programming Languages:
    C#
    · VB.NET · JAVA · PHP · Javascript
    Other:
    XML
    · HTML · CSS · JQuery · SQL



    *** Proudly Portuguese ***

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