diff --git a/code/VSBlockJumper.csproj.user b/code/VSBlockJumper.csproj.user index c0bba7b..922b1bc 100644 --- a/code/VSBlockJumper.csproj.user +++ b/code/VSBlockJumper.csproj.user @@ -2,7 +2,7 @@ Program - C:\Program Files %28x86%29\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe + C:\Program Files %28x86%29\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe /rootsuffix Exp diff --git a/code/VSBlockJumperPackage.cs b/code/VSBlockJumperPackage.cs index ecef1cd..28c48af 100644 --- a/code/VSBlockJumperPackage.cs +++ b/code/VSBlockJumperPackage.cs @@ -35,6 +35,7 @@ protected async override Task InitializeAsync(CancellationToken cancellationToke // yet initialised - by the time it IS initialised, we also load our options - I think this is the // safest way (if not cleanest) to ensure we have an options service ready to push our data into var componentModel = await GetServiceAsync(typeof(SComponentModel)) as IComponentModel; + await JoinableTaskFactory.SwitchToMainThreadAsync(); OptionPageGrid.OptionsService = componentModel.GetService(); // this also sucks - here we force the options to be loaded as they are otherwise NOT loaded even when diff --git a/code/source.extension.vsixmanifest b/code/source.extension.vsixmanifest index 25abdbe..c44296b 100644 --- a/code/source.extension.vsixmanifest +++ b/code/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + VSBlockJumper Enables vertical navigation over blocks of code by allowing you to jump to the next blank line (above or below the cursor) adjacent to a block. This is similar to next/previous blank line in Vim. https://github.com/Nightro/VSBlockJumper