You are here: AxTools > CodeSMART 2007 for VB6 > Documentation > Quick Reference > Code Window Context Menu Reference
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

Code Window Context Menu Reference

CodeSMART 2007 for VB6 adds the most common used code-editing commands to the Visual Basic code window context menu. Most of these commands can act on a single method (if the cursor is positioned inside that method) or on the entire component (if the cursor is placed into the general declaration area).
The commands can be grouped and accessed through a separate popup menu (like in the following picture).

Code Window Menu

Menu Entry Description
Find References Opens the find references dialog-box.
Add an Assigned Task Here Creates a new assigned task linked directly to the current code position.
Add a Personal Task Here Creates a new personal task linked directly to the current code position.
Add a TODO task Here Creates a special comment (TODO) task at the current code position.
Switch assignment values Switches the assignment member parts for all lines in selection.
Insert Descriptive Header Inserts a descriptive comment for the current method or the entire component.
Insert Error Handling Code Inserts error handling code for the current method or component. The used scheme is automatically detected by CodeSMART.
Remove Error Handling Code Removes the existing error handling code from the current method or component.
Insert Line Numbers Inserts line numbers into the current method or component. The numbering is restarted for every encountered method.
Remove Line Numbers Removes line numbers from the current method or component.
Insert Bookmark Inserts a special CodeSMART bookmark (comment) at the selected line - inside a method's body. These bookmarks are displayed by the CodeSMART Project Explorer.
Insert Control Statement Bookmarks Parses the current method and inserts special CodeSMART bookmarks (comments) for each encountered code control statement (conditional, loops etc). These bookmarks are displayed by the CodeSMART Project Explorer.
Remove Control Statement Bookmarks Remove control statement bookmarks from the current method.
Insert Custom Code Opens the Insert Custom Code dialog.
Reformat Code Reformats the current method or component using the latest Code Formatter settings. If you are inside a method only that method will be formatted otherwise the whole component will be processed.
Analyze Code Analyzes (Code Analyzer) the current method or the entire component.
Enclose Selection in New Region Encloses the selected methods between a pair of '#Region and '#End Region statements. A region can group contiguous methods and is displayed by the CodeSMART Project Explorer.
Select in Project Explorer Selects an item in the CodeSMART Project Explorer based on the current selection in code or on the active component.
Select in Code Flow Explorer Selects an item in the CodeSMART Code Flow Explorer pane based on the current selection in code.
Add to Workbench Adds a special Workbench shortcut for the current method or component. If you are inside a method a shortcut for that method will be added otherwise a shortcut for the entire component.
You can show or hide these commands using the CodeSMART 2007 Control Panel - Interface - Toolbars section.

See Also

Main Menu Reference
Main Toolbars Reference
Keyboard Shortcuts Reference
Standard Parameters Reference

Back To Top

Copyright © 2008 AxTools - CodeSMART 2007 for VB6 - Code Window Context Menu Reference