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
 Import/Export Colors
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ClaudeTurner
Junior Member

USA
11 Posts

Posted - Aug 04 2011 :  4:20:51 PM  Show Profile  Reply with Quote
I can't seem to export my custom Colors from VS 2010. After going through some trouble to discover that they are not just in the VisualAssist dialog, but also under Tools->Options->Environment->Fonts and Colors->"VA X ..." but now if I just select export Fonts and colors no .vssettings gets created, if I select something else the file gets created but there are no Color options in it.

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Aug 05 2011 :  10:23:10 AM  Show Profile  Reply with Quote
To export all of your VA and IDE settings you need to use both:

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

This will produce a .reg file for the VA settings, and a .vssettings for the IDE setting. When exporting the IDE settings you can tell the IDE to only export certain settings, like just the font and colour settings.

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

ClaudeTurner
Junior Member

USA
11 Posts

Posted - Aug 05 2011 :  10:37:30 AM  Show Profile  Reply with Quote
Did that, the VA export successfully generated a .reg file, but the IDE tools-> .... .vssettings file did not have any FontandColor option. When I did it again with just Font And Color checked (All Settings->Options->Environment->Fonts and Colors) _no_ .vssettings file was created.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Aug 05 2011 :  1:22:32 PM  Show Profile  Reply with Quote
Which IDE and OS are you using? I can then try and test the same combination here.

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

ClaudeTurner
Junior Member

USA
11 Posts

Posted - Aug 05 2011 :  1:34:19 PM  Show Profile  Reply with Quote
I am using Windows XP (Service Pack 3) and Visual Studio 2010(Ultimate)
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 05 2011 :  5:22:13 PM  Show Profile  Reply with Quote
Strange. It works for me. Only the mentioned checkbox is ticked and VA color settings are saved to the .vssettings file.
Can you please open

Tools -> Options... -> Environment -> Fonts and Colors

and check if you have settings beginning with VA X... ? e.g. "VA X Brace Error" should be in the listbox.

Anyway it seems VS only saving the changed colors. What happens if you change, say the comment color and try saving the colors again?

Edited by - accord on Aug 05 2011 5:25:57 PM
Go to Top of Page

ClaudeTurner
Junior Member

USA
11 Posts

Posted - Aug 05 2011 :  5:36:23 PM  Show Profile  Reply with Quote
Yup, and I see the following in my My Documents\\Visual Studio 2010\\settings\\CurrentSettings.vssettings file (pardon the tabs) It's the only place in the file with "VA X"

<Category GUID="{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}" FontIsDefault="Yes">
<Items>
<Item Name="Plain Text" Foreground="0x00FFFFFF" Background="0x00443332" BoldFont="No"/>
<Item Name="C/C++ User Keywords" Foreground="0x00FFFF00" Background="0x02000000" BoldFont="No"/>
<Item Name="Comment" Foreground="0x0000FF00" Background="0x02000000" BoldFont="No"/>
<Item Name="Keyword" Foreground="0x00FFFF00" Background="0x02000000" BoldFont="No"/>
<Item Name="Preprocessor Keyword" Foreground="0x00FFFF00" Background="0x02000000" BoldFont="No"/>
<Item Name="String" Foreground="0x00808080" Background="0x02000000" BoldFont="No"/>
<Item Name="Text" Foreground="0x00FFFFFF" Background="0x02000000" BoldFont="No"/>
<Item Name="VA X Brace Matching" Foreground="0x00FF8080" Background="0x02000000" BoldFont="Yes"/>
<Item Name="VA X Class" Foreground="0x00FFC0C0" Background="0x02000000" BoldFont="No"/>
<Item Name="VA X Current Line" Foreground="0x00000080" Background="0x02000000" BoldFont="No"/>
<Item Name="VA X Find Reference" Foreground="0x00000000" Background="0x00FFFFE0" BoldFont="No"/>
<Item Name="VA X Find Reference (Modified)" Foreground="0x00000000" Background="0x00E1E4FF" BoldFont="No"/>
<Item Name="VA X Find Result" Foreground="0x00000000" Background="0x00B7FFFF" BoldFont="No"/>
<Item Name="VA X Macro / Enum" Foreground="0x00FFC0FF" Background="0x02000000" BoldFont="No"/>
<Item Name="VA X Method" Foreground="0x008080FF" Background="0x02000000" BoldFont="No"/>
<Item Name="VA X Variable" Foreground="0x00C0C0C0" Background="0x02000000" BoldFont="No"/>
</Items>
</Category>
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 08 2011 :  11:24:29 AM  Show Profile  Reply with Quote
Strange. Are you using any other VS extensions?

Anyway, isn't grabbing currentsettings.vssettings a satisfying solution? Or at least a workaround?
You should make sure that these are really your current settings, though.
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