From b64a8f6e55f372ddc04a57b7345687c80ee46462 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Fri, 31 Oct 2025 20:26:22 +1000 Subject: [PATCH] add nuget panel stub --- .../BottomPanel/BottomPanelManager.cs | 6 +++- .../Features/BottomPanel/BottomPanelType.cs | 3 +- .../Features/LeftSideBar/LeftSideBar.cs | 4 +++ .../Features/LeftSideBar/LeftSideBar.tscn | 19 +++++++++- .../Features/LeftSideBar/Resources/Nuget.svg | 5 +-- .../LeftSideBar/Resources/Nuget.svg.import | 2 +- .../Features/Nuget/NugetPanel.cs | 7 ++++ .../Features/Nuget/NugetPanel.cs.uid | 1 + .../Features/Nuget/NugetPanel.tscn | 35 +++++++++++++++++++ src/SharpIDE.Godot/IdeRoot.tscn | 8 ++++- 10 files changed, 83 insertions(+), 7 deletions(-) create mode 100644 src/SharpIDE.Godot/Features/Nuget/NugetPanel.cs create mode 100644 src/SharpIDE.Godot/Features/Nuget/NugetPanel.cs.uid create mode 100644 src/SharpIDE.Godot/Features/Nuget/NugetPanel.tscn diff --git a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs index bab123b..aa0f7fd 100644 --- a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs +++ b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs @@ -3,6 +3,7 @@ using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence; using SharpIDE.Godot.Features.Build; using SharpIDE.Godot.Features.Debug_; using SharpIDE.Godot.Features.IdeDiagnostics; +using SharpIDE.Godot.Features.Nuget; using SharpIDE.Godot.Features.Problems; using SharpIDE.Godot.Features.Run; @@ -25,6 +26,7 @@ public partial class BottomPanelManager : Panel private BuildPanel _buildPanel = null!; private ProblemsPanel _problemsPanel = null!; private IdeDiagnosticsPanel _ideDiagnosticsPanel = null!; + private NugetPanel _nugetPanel = null!; private Dictionary _panelTypeMap = []; @@ -35,6 +37,7 @@ public partial class BottomPanelManager : Panel _buildPanel = GetNode("%BuildPanel"); _problemsPanel = GetNode("%ProblemsPanel"); _ideDiagnosticsPanel = GetNode("%IdeDiagnosticsPanel"); + _nugetPanel = GetNode("%NugetPanel"); _panelTypeMap = new Dictionary { @@ -42,7 +45,8 @@ public partial class BottomPanelManager : Panel { BottomPanelType.Debug, _debugPanel }, { BottomPanelType.Build, _buildPanel }, { BottomPanelType.Problems, _problemsPanel }, - { BottomPanelType.IdeDiagnostics, _ideDiagnosticsPanel } + { BottomPanelType.IdeDiagnostics, _ideDiagnosticsPanel }, + { BottomPanelType.Nuget, _nugetPanel } }; GodotGlobalEvents.Instance.BottomPanelTabSelected.Subscribe(OnBottomPanelTabSelected); diff --git a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs index 98d8e7d..878737a 100644 --- a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs +++ b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs @@ -6,5 +6,6 @@ public enum BottomPanelType Debug, Build, Problems, - IdeDiagnostics + IdeDiagnostics, + Nuget } \ No newline at end of file diff --git a/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs b/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs index 1d4dba7..a1fc52f 100644 --- a/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs +++ b/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs @@ -12,6 +12,7 @@ public partial class LeftSideBar : Panel private Button _buildButton = null!; private Button _debugButton = null!; private Button _ideDiagnosticsButton = null!; + private Button _nugetButton = null!; public override void _Ready() { @@ -21,12 +22,14 @@ public partial class LeftSideBar : Panel _buildButton = GetNode