-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
PageConstants.cs
92 lines (69 loc) · 4.83 KB
/
PageConstants.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
namespace StartPagePlus.Options.Pages
{
using static Core.Strings.Constants;
public static class PageConstants
{
//YD: change all of these constant declarations to internal
public const string H1 = "1." + Space;
public const string H2 = "2." + Space;
public const string H3 = "3." + Space;
public const string Feature = "Feature";
public const string Features = "Features";
public const string FeatureSet = "Feature Set";
public const string Enable = "Enable";
public const string Enabled = "Enabled";
public const string EnablesDisables = "Enables/disables";
public const string EnablesDisablesAll = EnablesDisables + Space + "ALL";
public const string Settings = "Settings";
// package
public const string PackageName = Vsix.Name;
public const string PackageFeatureSet = PackageName + Space + FeatureSet;
// Start Page+
public const string EnableStartPagePlusDispayName = "Enable '" + PackageName + "'";
public const string EnableStartPagePlusDescription = "Allows the whole set of '" + PackageName + "' features to be turned off together";
internal const bool EnableStartPagePlusDefault = true;
public const string EnableOptionsMenuItemDispayName = "Enable '" + PackageName + "' Options";
public const string EnableOptionsMenuItemDescription = "Determines if a menu item to open the options page is added to the Tools | Options menu";
internal const bool EnableStartPagePlusOptionsDefault = true;
public const string PackageVersion = "Version Number";
public const string MaxWidthDisplayName = "Max Width";
public const string MaxWidthDescription = "Sets the max width of contents of the Start Page+ window";
internal const int MaxWidthDefault = 1280;
// Start Tab
public const string ShowStartTabTitleDisplayName = "Show 'Start' Tab Title";
public const string ShowStartTabTitleDescription = "Sets the visibility of the title in the 'Start' tab";
internal const bool ShowStartTabTitleDefault = true;
public const string StartTabTitleTextDisplayName = "'Start' Tab Title Text";
public const string StartTabTitleTextDescription = "Sets the text of the 'Start' tab title";
internal const string StartTabTitleDefault = "What would you like to do today?";
// Recent Items
public const string RecentItemsToDisplayDisplayName = "Items To Display";
public const string RecentItemsToDisplayDescription = "Sets the number of items to display in the 'Recent Items' list";
internal const int RecentItemsToDisplayDefault = 50;
public const string ShowFileExtensionsDisplayName = "Show File Extensions";
public const string ShowFileExtensionsDescription = "Sets the visibility of project/solution extensions in the 'Recent Items' list";
internal const bool ShowFileExtensionsDefault = false;
public const string ShowFilePathsDisplayName = "Show File Paths";
public const string ShowFilePathsDescription = "Sets the visibility of project/solution paths in the 'Recent Items' list";
internal const bool ShowFilePathsDefault = false;
public const string DisplayRecentItemsName = "Display 'Recent Items' list";
public const string DisplayRecentItemsDescription = "Sets the visibility of the 'Recent Items' list";
internal const bool DisplayRecentItemsDefault = true;
// News Items
public const string ClearListBeforeRefreshDisplayName = "Clear List Before Refresh";
public const string ClearListBeforeRefreshDescription = "Clears the list to give a visual indication that the list has been refreshed";
internal const bool ClearListBeforeRefreshDefault = true;
public const string NewsItemsFeedUrlDisplayName = "Items Feed Url";
public const string NewsItemsFeedUrlDescription = "Sets the url of the 'Developer News' feed";
public const string NewsItemsFeedUrlDefault = "https://vsstartpage.blob.core.windows.net/news/vs";
public const string NewsItemsToDisplayDisplayName = "Items To Display";
public const string NewsItemsToDisplayDescription = "Sets the number of items to display in the 'News Items' list";
internal const int NewsItemsToDisplayDefault = 8;
public const string OpenLinksInVsDisplayName = "Open Links in VS";
public const string OpenLinksInVsDescription = "Determines if news links are opened in VS or in the default browser";
internal const bool OpenLinksInVsDefault = true;
public const string DisplayNewsItemsName = "Display 'News Items' list";
public const string DisplayNewsItemsDescription = "Sets the visibility of the 'News Items' list";
internal const bool DisplayNewsItemsDefault = true;
}
}