summaryrefslogtreecommitdiff
path: root/Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2010-07-15 23:50:30 +0000
committerGravatar rustanleino <unknown>2010-07-15 23:50:30 +0000
commit13c9d58997d2d40657980b1c8a9bdc9fa99485e7 (patch)
tree21b412ae1a8dc24d2f74a5037bb716cb19c3b401 /Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs
parent2c516d5a900612ebcedfe0ad2c7fa3b2606063a1 (diff)
Visual Studio 2010 integration for Dafny and Chalice. See the "How to install binaries" link from the boogie.codeplex.com home page.
Diffstat (limited to 'Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs')
-rw-r--r--Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs b/Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs
new file mode 100644
index 00000000..8615eee7
--- /dev/null
+++ b/Util/VS2010/Chalice/ChaliceLanguageService/Configuration.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+using Microsoft.VisualStudio.Package;
+using Microsoft.VisualStudio.TextManager.Interop;
+
+namespace Demo
+{
+ public static partial class Configuration
+ {
+ public const string Name = "My C";
+// public const string FormatList = "My C File (*.myc)\n*.myc";
+ public const string FormatList = "My C File (*.chalice)\n*.chalice";
+
+ static Configuration()
+ {
+ // default colors - currently, these need to be declared
+ CreateColor("Keyword", COLORINDEX.CI_BLUE, COLORINDEX.CI_USERTEXT_BK);
+ CreateColor("Comment", COLORINDEX.CI_DARKGREEN, COLORINDEX.CI_USERTEXT_BK);
+ CreateColor("Identifier", COLORINDEX.CI_SYSPLAINTEXT_FG, COLORINDEX.CI_USERTEXT_BK);
+ CreateColor("String", COLORINDEX.CI_MAROON, COLORINDEX.CI_USERTEXT_BK);
+ CreateColor("Number", COLORINDEX.CI_RED, COLORINDEX.CI_USERTEXT_BK);
+ CreateColor("Text", COLORINDEX.CI_SYSPLAINTEXT_FG, COLORINDEX.CI_USERTEXT_BK);
+ }
+ }
+} \ No newline at end of file