Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Auto Spelling
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MiddleTommy
Junior Member

14 Posts

Posted - Feb 13 2008 :  11:39:30 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Feb 13 2008 :  12:38:02 PM  Show Profile  Reply with Quote
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#?

zen is the art of being at one with the two'ness
Go to Top of Page

MiddleTommy
Junior Member

14 Posts

Posted - Feb 13 2008 :  1:43:04 PM  Show Profile  Reply with Quote
Yes I am using C#

Figures. I go to test your questions and it stopped doing it
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Feb 13 2008 :  3:10:38 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000