21 references to TabSizeSettings
Microsoft.VisualStudio.LanguageServices (21)
EditorConfigSettings\Whitespace\ViewModel\TabSizeViewModel.cs (21)
12internal class TabSizeViewModel : EnumSettingViewModel<TabSizeSettings>
21protected override void ChangePropertyTo(TabSizeSettings newValue)
24protected override TabSizeSettings GetCurrentValue()
281 => TabSizeSettings._1,
292 => TabSizeSettings._2,
303 => TabSizeSettings._3,
314 => TabSizeSettings._4,
325 => TabSizeSettings._5,
336 => TabSizeSettings._6,
347 => TabSizeSettings._7,
35_ => TabSizeSettings._8,
39protected override IReadOnlyDictionary<string, TabSizeSettings> GetValuesAndDescriptions()
43static IEnumerable<(string description, TabSizeSettings value)> EnumerateOptions()
45yield return ("1", TabSizeSettings._1);
46yield return ("2", TabSizeSettings._2);
47yield return ("3", TabSizeSettings._3);
48yield return ("4", TabSizeSettings._4);
49yield return ("5", TabSizeSettings._5);
50yield return ("6", TabSizeSettings._6);
51yield return ("7", TabSizeSettings._7);
52yield return ("8", TabSizeSettings._8);