Rhyous

October 8, 2009

Visual Studio 2008 editor colors set to use a black background and how to add these settings yourself or keep your color settings on re-install?

Filed under: Visual Studio — J. Abram barneck @ 6:29 pm

So I recently installed Windows 7 64 bit on my laptop. Before I was using XP Pro SP3 32 bit. I had visual studio 2008 installed and had the editor using a black background exactly how I like it.

So really, all I wanted was my colors in my editor. So it turns out you can export them.

  1. On you current install, go to Tools | Import and Export Settings.
  2. Choose Export selected environment settings and click next.
  3. Click the top box to remove the check box from everything.
  4. Expand All Settings | Options | Environment.
  5. Click to check the box next to Fonts and Colors
  6. Click next and save your file

I won’t walk you through importing it because you should be competent enough to do that on your own having now exported it.

For those of you who also want a black background, here is my Environment_FontsAndColors section and a screen shot of it.

Visual Studio 2008 Text Editor with black background

Visual Studio 2008 Text Editor with black background

Here is the xml code, you can copy and paste:

<UserSettings>
  <ApplicationIdentity version="9.0"/>
  <ToolsOptions>
    <ToolsOptionsCategory name="Environment" RegisteredName="Environment"/>
  </ToolsOptions>
  <Category name="Environment_Group" RegisteredName="Environment_Group">
    <Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package">
      <PropertyValue name="Version">2</PropertyValue>
      <FontsAndColors Version="2.0">
        <Categories>
          <Category GUID="{1F987C00-E7C4-4869-8A17-23FD602268B0}" FontIsDefault="Yes">
            <Items/>
          </Category>
          <Category GUID="{358463D0-D084-400F-997E-A34FC570BC72}" FontIsDefault="Yes">
            <Items>
              <Item Name="Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="SelectedText" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="ChangedText" Foreground="0x000000FF" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{40660F54-80FA-4375-89A3-8D06AA954EBA}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{5C48B2CB-0366-4FBF-9786-0BB37E945687}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Current list location" Foreground="0x00A3DBFF" Background="0x01000007" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{6BB65C5A-2F31-4BDE-9F48-8A38DC0C63E7}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{8259ACED-490A-41B3-A0FB-64C842CCDC80}" FontIsDefault="Yes">
            <Items>
              <Item Name="Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="SelectedText" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="ChangedText" Foreground="0x000000FF" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{9973EFDF-317D-431C-8BC1-5E88CBFD4F7F}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Current list location" Foreground="0x00A3DBFF" Background="0x01000007" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{9E632E6E-D786-4F9A-8D3E-B9398836C784}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x0000D200" Background="0x00000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x00313131" BoldFont="No"/>
              <Item Name="Brace Matching (Highlight)" Foreground="0x0000FFFF" Background="0x02000000" BoldFont="Yes"/>
              <Item Name="Brace Matching (Rectangle)" Foreground="0x02000000" Background="0x00CCE0DB" BoldFont="No"/>
              <Item Name="Breakpoint - Selected" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="Call Return" Foreground="0x00B4E4B4" Background="0x00000000" BoldFont="No"/>
              <Item Name="Code Snippet Dependent Field" Foreground="0x00FFFFFF" Background="0x02000000" BoldFont="No"/>
              <Item Name="Code Snippet Field" Foreground="0x01000000" Background="0x00313131" BoldFont="No"/>
              <Item Name="Compiler Error" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="CSS Keyword" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="CSS Property Value" Foreground="0x00FF5151" Background="0x02000000" BoldFont="No"/>
              <Item Name="CSS String Value" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="Executiong Threads IPs" Foreground="0x00FFFFFF" Background="0x02000000" BoldFont="No"/>
              <Item Name="Definition Window Current Match" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="HTML Attribute Value" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="HTML Operator" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="HTML Tag Delimiter" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="Identifier" Foreground="0x00FFFF00" Background="0x02000000" BoldFont="No"/>
              <Item Name="Keyword" Foreground="0x00FF7946" Background="0x02000000" BoldFont="No"/>
              <Item Name="Refactoring Dependent Field" Foreground="0x00FFFF00" Background="0x02000000" BoldFont="No"/>
              <Item Name="String" Foreground="0x001A1AC6" Background="0x02000000" BoldFont="No"/>
              <Item Name="Track Changes after save" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="XML Attribute Quotes" Foreground="0x00008000" Background="0x02000000" BoldFont="No"/>
              <Item Name="XML Text" Foreground="0x0000FF00" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{A7EE6BEE-D0AA-4B2F-AD9D-748276A725F6}" FontIsDefault="Yes">
            <Items>
              <Item Name="Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="SelectedText" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="ChangedText" Foreground="0x000000FF" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{CE2ECED5-C21C-464C-9B45-15E10E9F9EF9}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
          <Category GUID="{EE1BE240-4E81-4BEB-8EEA-54322B6B1BF5}" FontIsDefault="Yes">
            <Items>
              <Item Name="Plain Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
              <Item Name="Inactive Selected Text" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
            </Items>
          </Category>
        </Categories>
      </FontsAndColors>
    </Category>
  </Category>
</UserSettings>

Copyright ® Rhyous.com – Linking to this article is allowed without permission and as many as ten lines of this article can be used along with this link. Any other use of this article is allowed only by permission of Rhyous.com.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: