store each solutions open tabs
This commit is contained in:
@@ -16,4 +16,5 @@ public record RecentSln
|
||||
{
|
||||
public required string Name { get; set; }
|
||||
public required string FilePath { get; set; }
|
||||
public IdeSolutionState IdeSolutionState { get; set; } = new IdeSolutionState();
|
||||
}
|
||||
13
src/SharpIDE.Godot/Features/IdeSettings/IdeSolutionState.cs
Normal file
13
src/SharpIDE.Godot/Features/IdeSettings/IdeSolutionState.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace SharpIDE.Godot.Features.IdeSettings;
|
||||
|
||||
public class IdeSolutionState
|
||||
{
|
||||
public List<OpenTab> OpenTabs { get; set; } = [];
|
||||
}
|
||||
|
||||
public class OpenTab
|
||||
{
|
||||
public required string FilePath { get; set; }
|
||||
public required int CaretLine { get; set; }
|
||||
public required int CaretColumn { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user