realbasic-nug
[Top] [All Lists]

Wanted: RB Windows Users to Beta-Test CodeHelper

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Wanted: RB Windows Users to Beta-Test CodeHelper
From: Barry Traver <rblog at ix dot netcom dot com>
Date: Mon, 30 May 2005 17:22:04 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Wanted: Windows beta-testers to supply feedback on a REALbasic program I've recently written called CodeHelper. Unless I broke an old feature when adding a new one, right now my CodeHelper program should be able to do the following as desired:

1. Add automatic comments to (or remove automatic comments from) Else lines or End If lines for simple (no ElseIf) IIf/Then or f/Then/Else statements and/or add automatic comments to (or remove automatic comments from) Next lines 2. Add (or remove) "boilerplate" material to beginning or end of Methods 3. Alphabetize Methods and/or Properties for printing out from within RB IDE 4. Change individual names of Constants, Controls, Menu Items, and/or Method names, and/or names of Properties, Variables, and Passed Parameters (except in Event handlers) 5. Check on Method dependencies, i.e., to see what Methods call (directly or indirectly) or are called by what other Methods. 6. Check to see whether any Variables and any Properties have been given the same name 7. Check whether any particular Methods, Properties, or Variables are defined but never actually used 8. Combine adjacent DIm statements (different kinds or same kind) (or put individual DIM statements on separate lines)) 9. Combine split lines of source code (i.e., those involving "_" as a line continuation character) into single longer lines
   10.  Comment out all source code with indenting preserved
11. Comment out (or uncomment) all DIMension statements and/or all MsgBox statements 12. Conform Constants, Controls, Methods, Modules, Properties, and/or REALbasic Keywords regarding (upper/lower) case 13. Display on the monitor, save to disk, or print out on the printer a list of all Words, Constants, Controls, Line Labels, Menu Items, Methods, Modules, Passed Parameters, Properties, REALbasic Keywords, and/or Variables used in the Project 14. Display on the monitor, save to disk, or print out on the printer the source code for the entire Project or for a particular Method 15. Display on the monitor, save to disk, or print out on the printer the XML (with modifications) for the entire Project 16. Double-space, triple-space, or quadruple-space the source code, or remove all blank lines, or separate out logical units (If/Then/Else statements, For/Next loops, etc.) 17. Edit the XML directly (CodeHelper can search for string or whole word), including easy editing of the initial attributes for a particular Control or for all Controls. 18. Have a space before and after mathematical operators, inside and/or outside parentheses symbols, and/or after commas in the source code (or, on the other hand, remove all unnecessary spaces) 19. Increase indentation of source code by 1 space (or 2 or 3 spaces) per level beyond normal (or restore indentation of source code to normal). 20. "Obfuscate" source by changing or switching around names of Constants, Controls, Methods, and/or Properties, Variables, and Passed Parameters 21. "Obfuscate" source further by messing up case for Constants, Controls, Methods, Properties, REALbasic Keywords, Variables, and Passed Parameters 22. Remove from source code "//" symbols or comments, "'" symbols or comments, and/or "Rem " symbols or comments
   23.  Remove empty Event handlers and/or empty Methods from source code
24. Remove highlighting from entire Project, setting the cursor at the top of each Method 25. Test nested For/Next Loops for repeated counter names on different levels

I hope it will be available for the Mac in the future as well, but a preliminary report suggests that CodeHelper may not yet work properly on at least some Macs (perhaps because Windows - unlike the Mac or Linux - uses a different EndOfLine delimiter for an EditField than it does elsewhere, something I thought I had factored in, but seemingly not entirely successfully).

Disadvantages of CodeHelper: it doesn't run within the RB IDE, but works externally, making use of the Project saved as an XML file, and some of the routines run a bit slowly (at least for larger Projects). Advantages of CodeHelper: it should (later) work on any platform (unlike Owen Yamauchi's CodeCleaner, which runs only on the Mac), and it has a number of features I've seen in no other program.

Anyway, if you'll willing to try out CodeHelper and supply some feedback, let me know in a private email, and I'll send you a copy of the source code, with the understanding that you will not share the program with anyone else without my permission.

Thanks in advance to anyone willing to be of assistance.

Barry Traver

P.S. Use this email address: barrytraverATixDOTnetcomDOTcom with the AT and the DOT replaced by the appropriate symbols. (And, yes, there is a "com" before and after the second DOT.)

P.P.S. Mac beta-testers are also still welcome, but only if you're willing to risk a possible "freezine" of the program when you try to View the XML, something more easily handled by OS X than Mac Classic.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>