-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Constants.cs
45 lines (44 loc) · 2.79 KB
/
Constants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
namespace DiscordRPforVS
{
using System;
using System.Collections.Generic;
using Properties;
public static class Constants
{
public static readonly Dictionary<String[], String[]> Languages = new Dictionary<String[], String[]>
{
{ new String[] { ".H", ".C", ".CC", ".HH", ".CPP", ".IPP", ".INL", ".C++", ".H++", ".HPP" }, new String[] { "cpp", "C++" } },
{ new String[] { ".GO" }, new String[] { "go", "GO" } },
{ new String[] { ".PHP" }, new String[] { "php", "PHP" } },
{ new String[] { ".RB", ".rbw" }, new String[] { "ruby", "Ruby" } },
{ new String[] { ".CS" }, new String[] { "csharp", "C#" } },
{ new String[] { ".FS", ".FSI", ".FSX", ".FSSCRIPT" }, new String[] { "fsharp", "F#" } },
{ new String[] { ".TS" }, new String[] { "typescript", "Typescript" } },
{ new String[] { ".CLASS", ".JAVA" }, new String[] { "java", "Java" } },
{ new String[] { ".TXT" }, new String[] { "text", Translates.TextDocument(Settings.Default.translates) } },
{ new String[] { ".JSON" }, new String[] { "json", "JSON" } },
{ new String[] { ".PY", ".PYW", ".PYI", ".PYX" }, new String[] { "python", "Python" } },
{ new String[] { ".CSS" }, new String[] { "css", "CSS" } },
{ new String[] { ".SCSS", ".SASS" }, new String[] { "sass", "SASS" } },
{ new String[] { ".LESS" }, new String[] { "less", "LESS" } },
{ new String[] { ".HTML" }, new String[] { "html", "Html" } },
{ new String[] { ".JS" }, new String[] { "javascript", "Javascript" } },
{ new String[] { "CMAKELISTS.TXT", "CMAKECACHE.TXT" }, new String[] { "cmake", "CMake" } },
{ new String[] { ".MD", ".MARKDOWN" }, new String[] { "markdown", "Markdown" } },
{ new String[] { ".XML" }, new String[] { "xml", "XML" } },
{ new String[] { ".XAML" }, new String[] { "xaml", "XAML" } },
{ new String[]{ ".CSHTML", ".RAZOR" }, new String[] { "cshtml", "CSHtml" } },
{ new String[]{ ".RS" }, new String[] { "rust", "Rust" } },
{ new String[]{ ".TOML" }, new String[] { "toml", "TOML" } },
{ new String[]{ ".LUA" }, new String[] { "lua", "Lua" } },
{ new String[]{ ".BAS", ".CLS", ".FRM", ".VBP", ".VBG" }, new String[] { "visualbasic", "VB" } },
{ new String[]{ ".LOG" }, new String[] { "log", Translates.LogDocument(Settings.Default.translates) } },
{ new String[]{ ".VSCT" }, new String[] { "vs2019", Translates.LogDocument(Settings.Default.translates) } }
};
public static readonly Dictionary<Int32, String> IdeVersions = new Dictionary<Int32, String>
{
{ 15, "2017" },
{ 16, "2019" }
};
}
}