Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/SharpIDE.Godot/DiAutoload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.Extensions.Logging;
using SharpIDE.Application;
using SharpIDE.Godot.Features.ActivityListener;
using SharpIDE.Godot.Features.Tools;

namespace SharpIDE.Godot;

Expand All @@ -23,6 +24,7 @@ public override void _EnterTree()

services.AddApplication();
services.AddScoped<SharpIdeSolutionAccessor>();
services.AddScoped<SharpIdeToolManager>();
services.AddScoped<ActivityMonitor>();

services.AddHttpClient();
Expand Down
72 changes: 0 additions & 72 deletions src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 13 additions & 0 deletions src/SharpIDE.Godot/Features/Layout/DropZone.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Godot;

namespace SharpIDE.Godot.Features.Layout;

public partial class DropZone : Control
{
public ColorRect Highlight { get; set; } = null!;

public override void _Ready()
{
Highlight = GetNode<ColorRect>("Highlight");
}
}
1 change: 1 addition & 0 deletions src/SharpIDE.Godot/Features/Layout/DropZone.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dh8sh21lx7p34
31 changes: 31 additions & 0 deletions src/SharpIDE.Godot/Features/Layout/IdeLayoutState.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using SharpIDE.Godot.Features.Tools;

namespace SharpIDE.Godot.Features.Layout;

public sealed record IdeLayoutState
{
public static readonly IdeLayoutState Default = new()
{
SidebarTools = new Dictionary<ToolAnchor, List<IdeToolState>>
{
[ToolAnchor.LeftTop] =
[
new IdeToolState(IdeToolId.SolutionExplorer, ToolAnchor.LeftTop, IsActive: true)
],
[ToolAnchor.RightTop] = [],
[ToolAnchor.BottomLeft] =
[
new IdeToolState(IdeToolId.Problems, ToolAnchor.BottomLeft, IsActive: false),
new IdeToolState(IdeToolId.Run, ToolAnchor.BottomLeft, IsActive: false),
new IdeToolState(IdeToolId.Debug, ToolAnchor.BottomLeft, IsActive: false),
new IdeToolState(IdeToolId.Build, ToolAnchor.BottomLeft, IsActive: false),
new IdeToolState(IdeToolId.Nuget, ToolAnchor.BottomLeft, IsActive: false),
new IdeToolState(IdeToolId.TestExplorer, ToolAnchor.BottomLeft, IsActive: false),
new IdeToolState(IdeToolId.IdeDiagnostics, ToolAnchor.BottomLeft, IsActive: false)
],
[ToolAnchor.BottomRight] = []
}
};

public Dictionary<ToolAnchor, List<IdeToolState>> SidebarTools { get; init; } = [];
}
1 change: 1 addition & 0 deletions src/SharpIDE.Godot/Features/Layout/IdeLayoutState.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://c1hjlyj0augv1
Loading