public void Startup() { CleanReloadConfig(); _appMenus.Initialize(); _hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts _appMenus.Localize(); Task.Delay(1000).ContinueWith(t => UiDispatcher.Invoke(() => _parser.State.OnParseRequested(this))); UpdateLoggingLevel(); }
public void Startup() { EnsureDirectoriesExist(); LoadConfig(); _appMenus.Initialize(); _hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts _appMenus.Localize(); UpdateLoggingLevel(); if (_vbe.VBProjects.Count != 0) { _parser.State.OnParseRequested(this); } }
public void Startup() { CleanReloadConfig(); _appMenus.Initialize(); _appMenus.Localize(); Task.Delay(1000).ContinueWith(t => { // run this on UI thread UiDispatcher.Invoke(() => { _parser.State.OnParseRequested(this); }); }).ConfigureAwait(false); _hooks.HookHotkeys(); }
public void Startup() { EnsureLogFolderPathExists(); EnsureTempPathExists(); LogRubberduckSart(); LoadConfig(); CheckForLegacyIndenterSettings(); _appMenus.Initialize(); _hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts _appMenus.Localize(); UpdateLoggingLevel(); if (_config.UserSettings.GeneralSettings.CheckVersion) { _checkVersionCommand.Execute(null); } }