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
 Feature Requests
 VA doesn't recognize JavaScript constants?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rhinology
Junior Member

10 Posts

Posted - Mar 26 2009 :  3:07:45 PM  Show Profile  Reply with Quote
For example:
const myString = "Hello, world!";

- VA underline "const" and tooltip says it is a "Syntax Error".
- No auto-completion for "myString".

However, "const" is recognized as a keyword.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 30 2009 :  11:49:54 AM  Show Profile  Reply with Quote
I have just added this line to a .js file using VS2005 and VA 1721 and I am not seeing any underlining at all on this line. If you change the colours for:

VA Options -> Advanced -> Underlines -> Underline spelling errors in comments and strings using
VA Options -> Advanced -> Underlines -> Underline mistyped symbols using

what effect, if any, does this have on the underlining you are seeing? I would not expect there to be any tooltip for the underlining from VA, that sounds more likely to be underlining from the IDE or some other plugin.

Also when I type "mys" on the next line I am getting a VA listbox offering me "myString".

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