private Configuration GetNondefaultConfig() { var generalSettings = new GeneralSettings { Language = new DisplayLanguageSetting("fr-CA"), IsAutoSaveEnabled = true, AutoSavePeriod = 5, //Delimiter = '/' }; var hotkeySettings = new HotkeySettings { Settings = new[] { new HotkeySetting { CommandTypeName = "FooCommand", IsEnabled = false, Key1 = "C" }, new HotkeySetting { CommandTypeName = "BarCommand", IsEnabled = false, Key1 = "D" } } }; var userSettings = new UserSettings(generalSettings, hotkeySettings, null, null, null, null, null, null); return(new Configuration(userSettings)); }
private Configuration GetDefaultConfig() { var generalSettings = new GeneralSettings { Language = new DisplayLanguageSetting("en-US"), IsAutoSaveEnabled = false, AutoSavePeriod = 10, EnableExperimentalFeatures = new List <ExperimentalFeatures> { new ExperimentalFeatures() } //Delimiter = '.' }; var hotkeySettings = new HotkeySettings(new[] { new HotkeySetting { CommandTypeName = "FooCommand", IsEnabled = true, Key1 = "A" }, new HotkeySetting { CommandTypeName = "BarCommand", IsEnabled = true, Key1 = "B" } }); var userSettings = new UserSettings(generalSettings, hotkeySettings, null, null, null, null, null, null); return(new Configuration(userSettings)); }
public RubberduckIoCInstaller(IVBE vbe, IAddIn addin, GeneralSettings initialSettings, IVbeNativeApi vbeNativeApi) { _vbe = vbe; _addin = addin; _initialSettings = initialSettings; _vbeNativeApi = vbeNativeApi; }
private Configuration GetNondefaultConfig() { var generalSettings = new GeneralSettings { Language = new DisplayLanguageSetting("fr-CA"), AutoSaveEnabled = true, AutoSavePeriod = 5, //Delimiter = '/' }; var hotkeySettings = new HotkeySettings() { Settings = new[] { new HotkeySetting { Name = "IndentProcedure", IsEnabled = false, Key1 = "CTRL-C" }, new HotkeySetting { Name = "IndentModule", IsEnabled = false, Key1 = "CTRL-X" } } }; var userSettings = new UserSettings(generalSettings, hotkeySettings, null, null, null, null, null); return(new Configuration(userSettings)); }
private Configuration GetDefaultConfig() { var generalSettings = new GeneralSettings { Language = new DisplayLanguageSetting("en-US"), HotkeySettings = new[] { new HotkeySetting { Name = "IndentProcedure", IsEnabled = true, Key1 = "CTRL-P" }, new HotkeySetting { Name = "IndentModule", IsEnabled = true, Key1 = "CTRL-M" } }, AutoSaveEnabled = false, AutoSavePeriod = 10 }; var userSettings = new UserSettings(generalSettings, null, null, null, null); return(new Configuration(userSettings)); }