maximise on open sln
This commit is contained in:
@@ -35,9 +35,10 @@ public static class RoslynAnalysis
|
||||
private static SharpIdeSolutionModel? _sharpIdeSolutionModel;
|
||||
private static HashSet<CodeFixProvider> _codeFixProviders = [];
|
||||
private static HashSet<CodeRefactoringProvider> _codeRefactoringProviders = [];
|
||||
private static TaskCompletionSource _solutionLoadedTcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
private static TaskCompletionSource _solutionLoadedTcs = null!;
|
||||
public static void StartSolutionAnalysis(SharpIdeSolutionModel solutionModel)
|
||||
{
|
||||
_solutionLoadedTcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
|
||||
@@ -72,6 +72,10 @@ public partial class IdeWindow : Control
|
||||
RemoveChild(_ideRoot);
|
||||
_ideRoot.QueueFree();
|
||||
}
|
||||
else
|
||||
{
|
||||
GetWindow().Mode = Window.ModeEnum.Maximized;
|
||||
}
|
||||
_ideRoot = ideRoot;
|
||||
AddChild(ideRoot);
|
||||
});
|
||||
|
||||
@@ -16,5 +16,4 @@ oversampling_override = 1.0
|
||||
title = "Open Solution"
|
||||
initial_position = 2
|
||||
visible = false
|
||||
wrap_controls = true
|
||||
popup_window = true
|
||||
|
||||
Reference in New Issue
Block a user