diff --git a/T4Language/Classifications.cs b/T4Language/Classifications.cs index 1b3120d..bcb0a0e 100644 --- a/T4Language/Classifications.cs +++ b/T4Language/Classifications.cs @@ -1,5 +1,4 @@ using System.ComponentModel.Composition; -using System.Windows.Media; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities; @@ -35,10 +34,7 @@ static class Classifications [UserVisible(true)] class ArgumentFormat : ClassificationFormatDefinition { - public ArgumentFormat() - { - ForegroundColor = Colors.Red; - } + public ArgumentFormat() { } } [Export(typeof(EditorFormatDefinition))] @@ -47,10 +43,7 @@ public ArgumentFormat() [UserVisible(true)] class ArgumentValueFormat : ClassificationFormatDefinition { - public ArgumentValueFormat() - { - ForegroundColor = Colors.Blue; - } + public ArgumentValueFormat() { } } [Export(typeof(EditorFormatDefinition))] @@ -59,11 +52,7 @@ public ArgumentValueFormat() [UserVisible(true)] class DelimiterFormat : ClassificationFormatDefinition { - public DelimiterFormat() - { - BackgroundColor = Colors.Yellow; - ForegroundColor = Colors.Black; - } + public DelimiterFormat() { } } [Export(typeof(EditorFormatDefinition))] @@ -72,10 +61,7 @@ public DelimiterFormat() [UserVisible(true)] class DirectiveFormat : ClassificationFormatDefinition { - public DirectiveFormat() - { - ForegroundColor = Colors.Maroon; - } + public DirectiveFormat() { } } [Export(typeof(EditorFormatDefinition))] @@ -84,9 +70,6 @@ public DirectiveFormat() [UserVisible(true)] class OperatorFormat : ClassificationFormatDefinition { - public OperatorFormat() - { - ForegroundColor = Colors.Blue; - } + public OperatorFormat() { } } } diff --git a/T4Language/T4Colors.pkgdef b/T4Language/T4Colors.pkgdef new file mode 100644 index 0000000..04156c2 --- /dev/null +++ b/T4Language/T4Colors.pkgdef @@ -0,0 +1,5 @@ +[$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}\Text Editor] +"Data"=hex:80,00,00,00,0b,00,00,00,01,00,00,00,85,56,a0,75,a8,00,ed,4d,ba,e5,e7,a5,0b,fa,92,9a,04,00,00,00,0c,00,00,00,54,34,20,44,69,72,65,63,74,69,76,65,00,01,c5,86,c0,ff,0c,00,00,00,54,34,20,44,65,6c,69,6d,69,74,65,72,01,8f,8f,1a,ff,01,00,00,00,ff,0b,00,00,00,54,34,20,41,72,67,75,6d,65,6e,74,00,01,9c,dc,fe,ff,11,00,00,00,54,34,20,41,72,67,75,6d,65,6e,74,20,56,61,6c,75,65,00,01,ce,91,78,ff + +[$RootKey$\Themes\{de3dbbcd-f642-433c-8353-8f1df4370aba}\Text Editor] +"Data"=hex:80,00,00,00,0b,00,00,00,01,00,00,00,85,56,a0,75,a8,00,ed,4d,ba,e5,e7,a5,0b,fa,92,9a,04,00,00,00,0c,00,00,00,54,34,20,44,69,72,65,63,74,69,76,65,00,01,af,00,db,ff,0c,00,00,00,54,34,20,44,65,6c,69,6d,69,74,65,72,01,dd,dd,76,ff,01,00,00,00,ff,0b,00,00,00,54,34,20,41,72,67,75,6d,65,6e,74,00,01,e5,00,00,ff,11,00,00,00,54,34,20,41,72,67,75,6d,65,6e,74,20,56,61,6c,75,65,00,01,00,00,ff,ff diff --git a/T4Language/T4Language.csproj b/T4Language/T4Language.csproj index f9800b0..1ec3ff4 100644 --- a/T4Language/T4Language.csproj +++ b/T4Language/T4Language.csproj @@ -67,6 +67,10 @@ assembly.tmSnippet.yml true + + Always + true + import.tmSnippet.yml diff --git a/T4Language/T4Theme.xml b/T4Language/T4Theme.xml new file mode 100644 index 0000000..5321e3d --- /dev/null +++ b/T4Language/T4Theme.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/T4Language/source.extension.vsixmanifest b/T4Language/source.extension.vsixmanifest index 4fc92d9..cfb1a50 100644 --- a/T4Language/source.extension.vsixmanifest +++ b/T4Language/source.extension.vsixmanifest @@ -23,6 +23,7 @@ +