using Godot; using Microsoft.Build.Locator; using SharpIDE.Application.Features.Analysis; using SharpIDE.Application.Features.SolutionDiscovery; using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence; using SharpIDE.Godot.Features.BottomPanel; using SharpIDE.Godot.Features.CustomControls; using SharpIDE.Godot.Features.Run; using SharpIDE.Godot.Features.SolutionExplorer; namespace SharpIDE.Godot; public partial class IdeRoot : Control { private Button _openSlnButton = null!; private Button _buildSlnButton = null!; private FileDialog _fileDialog = null!; private SharpIdeCodeEdit _sharpIdeCodeEdit = null!; private SolutionExplorerPanel _solutionExplorerPanel = null!; private InvertedVSplitContainer _invertedVSplitContainer = null!; private RunPanel _runPanel = null!; private Button _runMenuButton = null!; private Popup _runMenuPopup = null!; private BottomPanelManager _bottomPanelManager = null!; private readonly PackedScene _runMenuItemScene = ResourceLoader.Load("res://Features/Run/RunMenuItem.tscn"); public override void _Ready() { MSBuildLocator.RegisterDefaults(); _openSlnButton = GetNode