gbCodeWords
gbCodeWords is a simple utility which opens a file containing source code, then
extracts the list of words found in the source code. Word in comments and strings are not
included in the list.
You can also sort the output list or eliminate duplicates.
Case sensitivity and the allowal of words containing all numbers are optional.
The next image shows the main screen of gbCodeWords. An application code
listing is shown on the left, with the extracted/sorted/unique word list
shown on the right.
Key Features List
Key features of gbCodeWords include:
- Open source code files (*.bas and *.inc)
- Extract words from source code (less comments and strings)
- Sort the word list
- Remove duplicate words from the word list
- Case ensitivity
- Allow words containing all numbers
- Online Help
gbCodeWords has no Save/Save-As function. For that, you can copy the output list to the clipboard
and paste into applications of your choice.
Using gbCodeWords
To start using gbCodeWords, you need a source code listing, which goes into the
left text box. You can Open (toolbar button) an existing source code
file (*.bas or *.inc) or you can paste content into the left side.
With source code available, you can take any of 3 actions.
Extract word list
- Sort word list
- Sort word list and remove duplicates
Case sensitivity and removal of all-number words are optional.
The Input (left) and Output (right) editors also provide standard Cut/Copy/Paste context menus.
That's it!
Toolbar
The gbCodeWords interface includes the following toolbar.
The following options are available from the toolbar. Some buttons provide
additional dropdown menu options.
- Open
Select a source code file to display in Input
- Clear
Clear the Input and Output
- Reload
Display current file name in Input
- Extract
Extract all words from the source code listing
- Sort
Sort the extracted list
- Unique
Sort the extracted list and remove all duplicates.
- Font
Select the display font
- Numbers
Allow numbers words such as "123"
- Case
Use case sensitivity when sorting word list and extracting unique words
- Help
Opens the online Help page.
Keyboard Shortcuts
The following key combinations are available to the user to access gbThreads features:
- F1 - Help
- Ctrl-F - Select font
- Ctrl-N - Clear
- Ctrl-O - Select/open source code file
- Ctrl-R - Reload source code from file
- Ctrl-S - Sort
- Ctrl-U - Unique
- Ctrl-W - Extract procedure code
Other Comments
Miscellaneous information is provided in this section.
INI File
gbCodeWords application settings are saved in an INI file,
kept in the same folder as the gbCodeWords application.
Comments and suggestions are welcome!
|