1. Activation
To activate CodePsy select Add-in Manager from the Tools menu. In the Available Add-ins list check CodePsy. To start CodePsy when Visual Studio .NET starts check Startup. Click OK.
2. CodePsy Panel
To access the CodePsy panel select CodePsy from the Tools menu. The CodePsy panel allows the option to pad parentheses and square brackets, to obtain order info, to enter license, to obtain help and to provide feed back.
3. Statement Writer
The Statement Writer adds the conditional and iteration statements code by simply pressing Tab next to the related keyword. It then dynamically position the caret through completion steps by pressing Tab again. The Statement Writer can also add the logical following statement and it can add an optional block in the current one.
To write a statement enter the related keyword and press Tab. The Statement Writer writes the statement and position the caret at the first step of its completion. Write the step code and press Tab again to position the caret at the next step. Do not use the arrow keys. Repeat until the statement is completed. The Statement Writer then position the caret on a new line following the statement.
To add the logical following statement press Tab right after a statement completion.
To add an optional block in the current statement press return and then press Tab.
To cancel current statements writing press Esc.
Supported keywords
| keyword | following | keyword | following | optional |
| catch | catch | checked | ||
| class | do | |||
| else | else if | else if | ||
| enum | finally | |||
| fixed | for | |||
| foreach | if | else if | ||
| interface | lock | |||
| namespace | operator | |||
| struct | switch | case | ||
| try | catch | unchecked | ||
| while |
