T O P I C R E V I E W |
ClaudeTurner |
Posted - Aug 04 2011 : 4:20:51 PM 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. |
7 L A T E S T R E P L I E S (Newest First) |
accord |
Posted - Aug 08 2011 : 11:24:29 AM 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. |
ClaudeTurner |
Posted - Aug 05 2011 : 5:36:23 PM 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>
|
accord |
Posted - Aug 05 2011 : 5:22:13 PM 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? |
ClaudeTurner |
Posted - Aug 05 2011 : 1:34:19 PM I am using Windows XP (Service Pack 3) and Visual Studio 2010(Ultimate) |
feline |
Posted - Aug 05 2011 : 1:22:32 PM Which IDE and OS are you using? I can then try and test the same combination here. |
ClaudeTurner |
Posted - Aug 05 2011 : 10:37:30 AM 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. |
feline |
Posted - Aug 05 2011 : 10:23:10 AM 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. |