Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Use custom UIContext to load GitHubPackage / PullRequestStatusBarPackage in context of active repo #1512
Conversation
Make GitHubPackage auto-load on backgroundLoad thread.
|
This is awesome, great job! |
We no longer need to use `IVSGitExt` to initialize the PR status bar when there is an active Git repository.
We must await InitializeMenus to ensure that menus are ready. SwitchToMainThreadAsync doesn't exit until a solution has loaded.
Depends on #1396
This PR does the following:
Guids.UIContext_Gitwhich is activated when a repository is activePullRequestStatusBarPackageto auto-load onUIContext_GitGitHubPackageto auto-load onUIContext_GitGitHubPackagecompletes menu initializationFixes #1511