ThorRepositoryCatalog.md

April 3, 2018 · View on GitHub

Catalog of Thor Repository Tools

ToolDescriptionUpdatedVideo
Comment highlighted textImproved way to comment highlighted text; also creates comment line with date2011/06/09
Un-comment highlighted textRemoves comment *!* from each line in the highlighted text. Works in those instances where native VFP uncomment does nothing.2011/10/22
Wrap text with IF / ELSE / ENDIFWrap highlighted text with IF / ELSE / ENDIF2011/10/22
Wrap text with Try / CatchWrap highlighted text with Try / Catch2011/10/22
Wrap text with With / EndWithWrap highlighted text with With / EndWith2012/01/28
Change IF/ENDIF in highlighted text to DO CASEChange the IF / ENDIF in the highlighted text to a Do Case / Otherwise / EndCase2011/10/22
Break highlighted textBreak highlighted text out into a separate line2011/10/22
Extract to ConstantExtracts the currently highlighted block of code into a new constant (#Define), either at the beginning of code or, for methods, into the Include file.  See also ‘Extract to Method’ in IDE Tools.2011/10/22
Extract to VariableExtracts the currently highlighted block of code into a new variable.  See also ‘Extract to Method’ in IDE Tools.2011/10/22
Code / Highlighting text
Highlight parameterHighlights a single parameter in a method or function call2011/10/22
Highlight parenthesesHighlights code between matching parenthesis.  Repeated usage highlights the next outer set of parentheses.2011/10/22
Code / Inserting text
Insert blank lines around control structuresAdds a blank lines around control structures (IF / ENDIF, DO CASE / ENDCASE, etc.)2011/10/22
Insert call to NewObject (from MRU classes)Pops up menu of MRU classes; then pastes in NewObject() references to the selected class2011/10/22
Insert colorPrompts for color, using GetColor(), and inserts RGB value2011/07/29
Insert full name of object under mousePastes the full path name of the object under the mouse into the code window. Updated to work correctly when working with a class definition2011/07/29
Insert reference to classInserts a reference to the class that an object belongs to; This.Parent.Parent, etc.2011/07/29
Code / MDots
Add MDots to variable namesAdds MDots to all references to parameters, locals, and other variables assigned values.2011/10/22
Remove MDots from variable namesRemoves MDots from all references to parameters, locals, and other variables.2011/10/22
Code / Misc.
Install enhanced ZLOCInstalls an enhanced version of ZLOC, which will cause the pop-up list to also include all variables assigned in code, whether they are in the LOCALs list or not.  Note that this only need be done once, is it updates FoxCode.2011/10/22
Modify Class for PRG-based classesProvides a mechanism to convert a PRG based class (with no child objects) into a temporary VCX so that IDE Tools can work on it; and then post back again into the PRG. See Modify class for PRG-based classes.2011/10/22
Remove blank linesRemoves all blank lines from the current code window2012/01/28
Go To ...
Go To ‘Find’ in PEM EditorSets focus to the ‘Find’ textbox in PEM Editor; opens PEM Editor if it is not already open2011/10/22
Go To FileOpens a dialog with a filter box to quickly select a file (PRG, SCX, VCX, etc.) from the Active Project2011/10/22
Go To Include FileOpens the include file for the form or class being editres2012/01/28
Go To MethodOpens a dialog form to choose a method to view or edit. Allows searching by part of a method name.2011/06/03
Go To ObjectSelect the object which the code window belongs to.2011/07/29
Miscellaneous
"View Definition" uses "Go To Definition"Modifies the right-click context menu for a code window so that selecting ‘View Definition’ causes ‘Go To Definition’ to run. Must be run once per session.2012/01/28
Display ClassLibsDisplay current class libraries in a dialog box, one per line.2011/06/03
Display PathDisplay current path in a dialog box in a dialog box, one per line.2011/06/03
HackCX4 from MRU forms or classesHackCX: Pop-up menu to select a form or class (from MRU lists) to be opened with HackCX42011/06/03
Toggle comment colorsToggle colors for comments in edit windows (normal vs. subdued)2011/06/03
Projects
MRU classes in this projectPopup menu of MRU classes in the current project2011/06/04(1:56)
MRU files in this projectPopup menu of MRU lists for files in the current project2011/06/04(1:56)
Open project folderOpen an Explorer folder showing the folder of the active project2011/07/29
Samples
Modify the “Last Revision” commentSample of finding a specific line in a edit window and modifying it.2011/07/29
Wrap text with IF / ENDIFSample of taking the highlighted text in an edit window, modifying it, and pasting back the replacement.2011/06/09
Tables
Create SQL from cursorPuts a CREATE CURSOR SQL statement on the clipboard from an open cursor.2011/06/03
SchemaPrint/View the current table's schema2011/06/08
Super BrowseBrowse current table in a grid, showing table structure.  You can then select fields and construct various SQL statements (Select, Insert, Create Table, etc.)2012/01/28
WLC Column Listing UtilityLIST FIELDS replacement by White Light Computing.2011/06/03
Windows
Cycle thru Designer windowsCycle thru Form Designer and Class Designer windows2011/06/03(3:33)
Move Designer windows to topMove Form and Class Designers to top of screen and align them horizontally.2011/06/03(3:33)
Resize Designer WindowResize current Form / Class Designer window to show the entire form or class being edited.2011/06/03(3:33)
Wizards
"Insert Into" from cursorPops up form which allows selection of fields from current table and creates an ‘Insert Into’ statement in the clipboard2012/01/28
Messagebox WizardPops up form for creating calls to MessageBox2012/01/28