Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added settings file generator

  • Loading branch information...
commit 27758cabc29123bcdb72ddb1c9c5167e3383f84c 1 parent 00dd7c0
Peter Provost PProvost authored
49 vs11/generator/GenerateVsSettings.ps1
View
@@ -0,0 +1,49 @@
+$solarizedColorsDark = @{
+ '$Base03' = '0x00362B00';
+ '$Base02' = '0x00423607';
+ '$Base01' = '0x00586E75';
+ '$Base00' = '0x00837B65';
+ '$Base0' = '0x00969483';
+ '$Base1' = '0x00A1A193';
+ '$Base2' = '0x00D5E8EE';
+ '$Base3' = '0x00E3F6FD';
+ '$Yellow' = '0x000089B5';
+ '$Orange' = '0x00164BCB';
+ '$Red' = '0x002F32DC';
+ '$Magenta' = '0x008236D3';
+ '$Violet' = '0x00C4716C';
+ '$Blue' = '0x00D28B26';
+ '$Cyan' = '0x0098A12A';
+ '$Green' = '0x00079A71';
+}
+
+# Light is the same as dark with the base values inverted
+$solarizedColorsLight = @{
+ '$Base3' = '0x00362B00';
+ '$Base2' = '0x00423607';
+ '$Base1' = '0x00586E75';
+ '$Base0' = '0x00837B65';
+ '$Base00' = '0x00969483';
+ '$Base01' = '0x00A1A193';
+ '$Base02' = '0x00D5E8EE';
+ '$Base03' = '0x00E3F6Fd';
+ '$Yellow' = '0x000089b5';
+ '$Orange' = '0x00164BCB';
+ '$Red' = '0x002F32DC';
+ '$Magenta' = '0x008236D3';
+ '$Violet' = '0x00C4716C';
+ '$Blue' = '0x00D28B26';
+ '$Cyan' = '0x0098A12A';
+ '$Green' = '0x00079A71';
+}
+
+$content = get-content -delimiter "nosuchthing" SettingsTemplate.xml
+$hash = $solarizedColorsDark
+
+$hash.Keys | % {
+ $content = $content.Replace($_, $hash[$_])
+}
+
+$content
+
+
126 vs11/generator/SettingsTemplate.xml
View
@@ -0,0 +1,126 @@
+<UserSettings>
+ <ApplicationIdentity version="11.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="{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}" FontIsDefault="Yes">
+ <Items>
+ <Item Name="Plain Text" Foreground="$Base01" Background="$Base03" BoldFont="Yes"/>
+ <Item Name="Selected Text" Foreground="$Base00" Background="$Base2" BoldFont="No"/>
+ <Item Name="Inactive Selected Text" Foreground="$Base00" Background="$Base2" BoldFont="No"/>
+ <Item Name="Indicator Margin" Foreground="0x02000000" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Line Numbers" Foreground="$Base01" Background="$Base02" BoldFont="No"/>
+ <Item Name="Visible Whitespace" Foreground="$Base02" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Bookmark" Foreground="$Base02" Background="$Base2" BoldFont="No"/>
+ <Item Name="Brace Matching (Rectangle)" Foreground="0x02000000" Background="$Base2" BoldFont="No"/>
+ <Item Name="Breakpoint (Disabled)" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Breakpoint (Enabled)" Foreground="$Base3" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint (Error)" Foreground="$Base2" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint (Warning)" Foreground="$Base3" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Advanced (Disabled)" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Breakpoint - Advanced (Enabled)" Foreground="$Base3" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Advanced (Error)" Foreground="$Base2" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Advanced (Warning)" Foreground="$Base3" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Mapped (Disabled)" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Breakpoint - Mapped (Enabled)" Foreground="$Base3" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Mapped (Error)" Foreground="$Base2" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Mapped (Warning)" Foreground="$Base3" Background="$Red" BoldFont="No"/>
+ <Item Name="Breakpoint - Selected" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Call Return" Foreground="$Base03" Background="$Cyan" BoldFont="No"/>
+ <Item Name="Call Return New Context" Foreground="$Base02" Background="$Cyan" BoldFont="No"/>
+ <Item Name="Code Snippet Dependent Field" Foreground="$Base2" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Code Snippet Field" Foreground="0x01000000" Background="$Base2" BoldFont="No"/>
+ <Item Name="Collapsible Text" Foreground="$Base01" Background="$Base02" BoldFont="No"/>
+ <Item Name="Comment" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Compiler Error" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="CSS Comment" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="CSS Keyword" Foreground="$Orange" Background="0x02000000" BoldFont="No"/>
+ <Item Name="CSS Property Name" Foreground="$Yellow" Background="0x02000000" BoldFont="No"/>
+ <Item Name="CSS Property Value" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="CSS Selector" Foreground="$Green" Background="0x02000000" BoldFont="No"/>
+ <Item Name="CSS String Value" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Current list location" Foreground="$Base2" Background="$Blue" BoldFont="No"/>
+ <Item Name="Definition Window Current Match" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Disassembly Symbol" Foreground="$Violet" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Excluded Code" Foreground="$Base01" Background="$Base02" BoldFont="No"/>
+ <Item Name="MarkerFormatDefinition/HighlightedReference" Foreground="$Base00" Background="$Base3" BoldFont="No"/>
+ <Item Name="HTML Attribute" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="HTML Attribute Value" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="HTML Comment" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="HTML Element Name" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="HTML Entity" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="HTML Operator" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="HTML Server-Side Script" Foreground="$Magenta" Background="$Base02" BoldFont="No"/>
+ <Item Name="HTML Tag Delimiter" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Identifier" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Keyword" Foreground="$Green" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Memory Changed" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Number" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Operator" Foreground="$Magenta" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Other Error" Foreground="$Magenta" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Preprocessor Keyword" Foreground="$Orange" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Razor Code" Foreground="0x02000000" Background="$Base02" BoldFont="No"/>
+ <Item Name="Refactoring Background" Foreground="0x01000002" Background="$Base3" BoldFont="No"/>
+ <Item Name="Refactoring Current Field" Foreground="0x01000000" Background="$Base2" BoldFont="No"/>
+ <Item Name="Refactoring Dependent Field" Foreground="$Base2" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Register Data Changed" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Script Comment" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Script Keyword" Foreground="$Green" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Script Number" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Script Operator" Foreground="$Magenta" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Script String" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Smart Tag" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="SQL DML Marker" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Stale Code" Foreground="$Magenta" Background="0x02000000" BoldFont="No"/>
+ <Item Name="String" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="String(C# @ Verbatim)" Foreground="$Cyan" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="Syntax Error" Foreground="$Red" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Task List Shortcut" Foreground="$Base03" Background="$Blue" BoldFont="No"/>
+ <Item Name="Track Changes after save" Foreground="0x02000000" Background="$Green" BoldFont="No"/>
+ <Item Name="Track Changes before save" Foreground="0x02000000" Background="$Yellow" BoldFont="No"/>
+ <Item Name="User Types" Foreground="$Yellow" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="User Types(Delegates)" Foreground="$Violet" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="User Types(Enums)" Foreground="$Violet" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="User Types(Interfaces)" Foreground="$Magenta" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="User Types(Value types)" Foreground="$Yellow" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="Warning" Foreground="$Green" Background="0x02000000" BoldFont="No"/>
+ <Item Name="Warning Lines Path" Foreground="$Blue" Background="$Base02" BoldFont="No"/>
+ <Item Name="XAML Attribute" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Attribute Quotes" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Attribute Value" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML CData Section" Foreground="$Base0" Background="$Base02" BoldFont="No"/>
+ <Item Name="XAML Comment" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Delimiter" Foreground="$Magenta" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Keyword" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Markup Extension Class" Foreground="$Orange" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Markup Extension Parameter Name" Foreground="$Green" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Markup Extension Parameter Value" Foreground="$Yellow" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Name" Foreground="$Blue" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="XAML Processing Instruction" Foreground="$Orange" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XAML Text" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Attribute" Foreground="$Base0" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Attribute Quotes" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Attribute Value" Foreground="$Cyan" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML CData Section" Foreground="$Base0" Background="$Base02" BoldFont="No"/>
+ <Item Name="XML Comment" Foreground="$Base01" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Delimiter" Foreground="$Magenta" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Doc Attribute" Foreground="$Base01" Background="$Base02" BoldFont="No"/>
+ <Item Name="XML Doc Comment" Foreground="$Base01" Background="$Base02" BoldFont="Yes"/>
+ <Item Name="XML Doc Tag" Foreground="$Base01" Background="$Base02" BoldFont="No"/>
+ <Item Name="XML Keyword" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Name" Foreground="$Blue" Background="0x02000000" BoldFont="Yes"/>
+ <Item Name="XML Processing Instruction" Foreground="$Orange" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XML Text" Foreground="$Orange" Background="0x02000000" BoldFont="No"/>
+ <Item Name="XSLT Keyword" Foreground="$Blue" Background="0x02000000" BoldFont="No"/>
+ </Items>
+ </Category>
+ </Categories>
+ </FontsAndColors>
+ </Category>
+ </Category>
+</UserSettings>
Please sign in to comment.
Something went wrong with that request. Please try again.