T O P I C R E V I E W |
MiddleTommy |
Posted - Feb 13 2008 : 11:39:30 AM I have a variable named clipboard every time I type a "." after the variable it automatically changes to ClipBoard and uses the static class instead of my local valiable. Simple solution I change the name of my variable. But I think your software should check local variables first before changing the Capitalization of a variable to a Broader scoped object.
Second VAX does not like Generics. |
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Feb 13 2008 : 3:10:38 PM This might be happening because you have:
VA Options -> Advanced -> Correction -> Repair case
turned on. However it should only happen if VA does not recognise "clipboard" as a valid variable. It might be that VA has now caught up with the variable, due to a delay. However VA should recognise a variable within a second or two of it being added to the file. |
MiddleTommy |
Posted - Feb 13 2008 : 1:43:04 PM Yes I am using C#
Figures. I go to test your questions and it stopped doing it |
feline |
Posted - Feb 13 2008 : 12:38:02 PM If you undo the change, so you have "clipboard" does VA understand this variable correctly?
If you use alt-g on the variable are you taken to its declaration? If you place the caret into the variable name is VA showing the correct information in the context and definition fields?
Generics, are you working in C#? |