You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassLanguageClient:AsyncPackage,ILanguageClient{publicasyncTask<Connection>ActivateAsync(CancellationTokentoken){
...}publicasyncTaskOnLoadedAsync(){Configpage=(Config)GetDialogPage(typeof(Config));_path=page.OptionPath;if(_path!=null&&_path!=""){awaitStartAsync.InvokeAsync(this,EventArgs.Empty);}}protectedoverrideasyncTaskInitializeAsync(CancellationTokencancellationToken,IProgress<ServiceProgressData>progress){// When initialized asynchronously, the current thread may be a background thread at this point.// Do any initialization that requires the UI thread after switching to the UI thread.Configpage=(Config)GetDialogPage(typeof(Config));awaitthis.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);}
Current behavior
The Page "Config" does exist but impossible to get it from the OnLoadedAsync I always obtain the default values.
But if I go directly to the settings InitializeAsync is called with the settings. InitializeAsync is called only when we go in the settings ?
Expected behavior
Should get the settings.
The text was updated successfully, but these errors were encountered:
Installed products
Description
Cannot get the settings from the ILanguageClient
Steps to recreate
Current behavior
The Page "Config" does exist but impossible to get it from the
OnLoadedAsync
I always obtain the default values.But if I go directly to the settings InitializeAsync is called with the settings. InitializeAsync is called only when we go in the settings ?
Expected behavior
Should get the settings.
The text was updated successfully, but these errors were encountered: