Esempio n. 1
0
 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();
 }
Esempio n. 2
0
        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);
            }
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
        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);
            }
        }