display projects for problems
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Godot;
|
||||
using R3;
|
||||
using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence;
|
||||
|
||||
namespace SharpIDE.Godot.Features.Problems;
|
||||
@@ -10,5 +11,9 @@ public partial class ProblemsPanelProjectEntry : MarginContainer
|
||||
public override void _Ready()
|
||||
{
|
||||
GetNode<Label>("Label").Text = Project?.Name ?? "NULL";
|
||||
if (Project is null) return;
|
||||
Observable.EveryValueChanged(this, s => s.Project.Diagnostics.Count)
|
||||
.Subscribe(s => Visible = s is not 0);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -76,7 +76,7 @@ public partial class IdeRoot : Control
|
||||
_sharpIdeCodeEdit.Solution = solutionModel;
|
||||
_bottomPanelManager.Solution = solutionModel;
|
||||
Callable.From(_solutionExplorerPanel.RepopulateTree).CallDeferred();
|
||||
RoslynAnalysis.StartSolutionAnalysis(path);
|
||||
RoslynAnalysis.StartSolutionAnalysis(solutionModel);
|
||||
|
||||
var tasks = solutionModel.AllProjects.Select(p => p.MsBuildEvaluationProjectTask).ToList();
|
||||
await Task.WhenAll(tasks).ConfigureAwait(false);
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ObservableCollections" Version="3.3.4" />
|
||||
<PackageReference Include="ObservableCollections.R3" Version="3.3.4" />
|
||||
<PackageReference Include="R3" Version="1.3.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user