Wednesday, January 04, 2006

RB CodeHelper and RB CodeHelper Lite

I'm still looking for volunteers who would be willing to give me some feedback on a program I've been working on called CodeHelper. The program is still in the "development" stage, so you shouldn'texpect to see the final product yet. ("Development"-testing comes before "alpha"-testing, and that comes before "beta"-testing, so there's a way to go yet.) If you're interested, let me hear from you.

What is RB CodeHelper? Well CodeHelper is a REALbasic programming utility to help programmers with their code. Some of the routines are merely cosmetic (e.g., changing the line spacing or character spacing to make the code more readable), but some do serve more directly useful purposes (e.g., checking to see whether your projects include any properties or variables that you have defined but never actually used, or changing the name of a control, method, property, variable, etc. throughout an entire project).

Ready for "development"-testing is CodeHelper Lite, which includes the ability to perform the following seventy-seven tasks (the full CodeHelper will be able to perform perhaps twice as many):

ADD AUTOMATIC COMMENTS
Add Automatic Next Comments
Add Automatic Else Comments
Add Automatic End If Comments
ADD COMMENT SYMBOLS
Comment Out MsgBox Statements
Comment Out Entire Source
Comment Out Source And Add MsgBox
ADD HEADERS OR FOOTERS
Add Procedure Headers
Add Procedure Footers
CHANGE CHARACTER SPACING
Remove Unnecessary Spaces
Add Extra Spaces Of All Types
Put Spaces After Commas
Put Spaces Around Parentheses Symbols
Put Spaces Only Inside Parentheses Symbols
Put Spaces Only Outside Parentheses Symbols
Put Spaces Around Symbols For Math Operators
CHANGE LINE SPACING
Remove Blank Lines
Separate Logical Units
Double-Space Source Code
Triple-Space Source Code
Quadruple-Space Source Code
CONFORM IN CASE
Conform All (may take a while)
Conform Constants
Conform Controls
Conform Line Labels
Conform Methods
Conform Modules
Conform Properties
Conform REALbasic Keywords
Conform Variables
DISPLAY LIST OF NAMES
Display All Words Used in Source
Display Constants Used in Project
Display Controls Used in Project
Display Event Handlers Used in Project
Display Functions Used in Project
Display Line Labels Used in Project
Display Menu Items Used In Project
Display Methods Used in Project
Display Modules Used in Project
Display Properties Used in Project
Display REALbasic Keywords Used in Project
Display Subs Used in Project
Display Variable Names Used in Project
Display Variables by Location
Display Variables by Name
DISPLAY SOURCE CODE
Display Source Code For A Particular Method
Display Source Code For Entire Project
INCREASE OR DECREASE INDENTATION
Increased Indent of 1
Increased Indent of 2
Increased Indent of 3
Remove Increased Indentation
LOCATE UNNECESSARY DEFINITIONS
Check Variables And Properties For Duplicates
Display Unused Properties
Display Unused Variables
OBFUSCATE BY SWITCHING NAMES
Obfuscate Controls by Switching Names
PERFORM MISCELLANEOUS TASKS
Change a Particular Name
Check Nested For/Next Loops For Duplicate Counters
Combine Partial Source Lines
Remove Highlighting
REMOVE AUTOMATIC COMMENTS
Remove Automatic Next Comments
Remove Automatic Else Comments
Remove Automatic End If Comments
REMOVE OTHER COMMENTS
Remove All Comments
Remove // Comments
Remove ' Comments
Remove Rem Comments
REMOVE COMMENT SYMBOLS
Remove // Comment Symbols
Remove ' Comment Symbols
Remove Rem Comment Symbols
Uncomment MsgBox Statements
Uncomment Entire Source
REMOVE HEADERS OR FOOTERS
Remove Procedure Headers
Remove Procedure Footers
UNOBFUSCATE BY SWITCHING NAMES
Unobfuscate Controls by Switching Names
WORK WITH DIM STATEMENTS
Put Individual Dim Statements on Separate Lines
Alphabetize Separated Dim Statements
Combine Adjacent Dim Statements (same kind)
Combine Adjacent Dim Statements (different kinds)

The only feature in the preceding list that I've discussed here so far in this blog is how to "remove blank lines" from the source code. See the discussion of TraverToy1 at the following URL:

http://snurl.com/lajw

In the next entry, I'll explain more about what the program does (some of the features are obvious in purpose, but some are not).

In the meantime, if you're willing to help out by trying things out and supplying some feedback, please send a private email to the following email address:

rb@ix.netcom.com.

Thanks!



Blog Home Page: http://traverrb.blogspot.com

Page for Programs and Files: http://traver.org/traverrb/


Barry Traver



Blog Home Page: http://traverrb.blogspot.com/

Programs and Files Discussed in the Blog: http://traver.org/traverrb/

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home