If you attempt to record a macro in VS 2003 (for C#) and Visual Assist is on you cannot use cursor up or down. I *think* this is because VS is trying to pop up an intellisense window because when Visual Assist is not loaded everything works except there is an intellisense window so I have to close it before I attempt to go to the next line.
In this case I was attempting to change
private string searchNames;
private string searchValues;
private string referenceValue;
private string substringMatches;
private string caseSensitive;
private string allowMultipleValues;
to
this.searchNames = string.Empty;
this.searchValues = string.Empty;
this.referenceValue = string.Empty;
this.substringMatches = string.Empty;
this.caseSensitive = string.Empty;
this.allowMultipleValues = string.Empty;
When I record a macro and type this when VAX is loaded no intellisense windows come up. When I record a macro and VAX is not loaded intellisense comes up after this. and string. I have to hit escape to close these windows, but I can record a macro no problem with VAX not loaded. With VAX loaded I get to the end of string.Empty and when I try to hit the down arrow key to get to the next line the cursor goes nowhere. Same with up arrow key.
To record the macro I was trying exactly, move to the first line and move the cursor to right before this by hitting home. Then hit ctrl-shift-r to begin recording. Hold down ctrl-shift and hit the right arrow twice. Then type "this." (that's with the period). At this point without VAX you have to hit escape, with VAX I just hit ctrl-right arrow. Then type " = string.Empty". At this point without VAX loaded I have to hit escape. Then I hit down arrow and home. Then I hit ctrl-shift-r to stop recording and ctrl-shift-p 5 times to change the lines below. With VAX loaded when I hit down arrow the cursor does not go down a line.