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
 VS2010 syntax highlighting with empty workspace
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

glorindel
New Member

3 Posts

Posted - Jan 22 2012 :  3:56:01 PM  Show Profile  Reply with Quote
Open a solution/project with VS2010 that has no source files open in the workspace. Now open a source file. VAssist highlighting is disabled/inactive.

Keep the source file open, and close the solution. When you open the solution, which has that file opened in the workspace, highlighting works fine.

Build 10.6.1862, and several before it, appear to dislike opening solutions with no source files open/active.

Edited by - glorindel on Jan 22 2012 11:10:53 PM

feline
Whole Tomato Software

United Kingdom
19077 Posts

Posted - Jan 23 2012 :  12:27:25 PM  Show Profile  Reply with Quote
Which programming language are you working with? I am not seeing any sign of this problem with a .cpp file under winXP with VA 1862.

How are you opening the file?
Are you placing keyboard focus into the file? If you use the arrow keys, does the caret move in the file? If not, can you try placing keyboard focus into the file. Does this make any difference?

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

glorindel
New Member

3 Posts

Posted - Jan 24 2012 :  7:14:18 PM  Show Profile  Reply with Quote
C++. Windows 7 64-bit, VS2010 Ultimate. I'm opening the file using the Solution Explorer. Placing focus on the file will initiate highlighting, but it highlights using VS2010's built-in color scheme. Going into VAssist options, the colors look fine... however, even disabling/enabling syntax highlighting will not fix the problem, neither will closing the file and opening it again. You have to quit the program with a file open, then re-open the project completely.

Edited by - glorindel on Jan 24 2012 7:15:20 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19077 Posts

Posted - Jan 25 2012 :  10:32:11 PM  Show Profile  Reply with Quote
I cannot reproduce this problem using VA 1859 and VA 1862. I am using Windows 7 64bit and VS2010. I have opened a cpp file from Solution Explorer both with the mouse and the keyboard, and VA colouring is always applied to the cpp file immediately.

Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem.

Also can you try opening the file via the Open File in Workspace dialog (Alt-Shift-O by default), and see if this makes any difference.

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