Skip to content

Commit

Permalink
Merge pull request #80260 from raulsntos/dotnet/msbuild-panel
Browse files Browse the repository at this point in the history
C#: Redesign MSBuild panel
  • Loading branch information
akien-mga committed Sep 27, 2023
2 parents 251fb83 + f19694a commit c7a5a28
Show file tree
Hide file tree
Showing 8 changed files with 1,068 additions and 470 deletions.
1 change: 1 addition & 0 deletions editor/icons/FileTree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions modules/mono/editor/GodotTools/GodotTools/Build/BuildDiagnostic.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#nullable enable

namespace GodotTools.Build
{
public class BuildDiagnostic
{
public enum DiagnosticType
{
Hidden,
Info,
Warning,
Error,
}

public DiagnosticType Type { get; set; }
public string? File { get; set; }
public int Line { get; set; }
public int Column { get; set; }
public string? Code { get; set; }
public string Message { get; set; } = "";
public string? ProjectFile { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ private static void ShowBuildErrorDialog(string message)
plugin.MakeBottomPanelItemVisible(plugin.MSBuildPanel);
}

public static void RestartBuild(BuildOutputView buildOutputView) => throw new NotImplementedException();
public static void StopBuild(BuildOutputView buildOutputView) => throw new NotImplementedException();

private static string GetLogFilePath(BuildInfo buildInfo)
{
return Path.Combine(buildInfo.LogsDirPath, MsBuildLogFileName);
Expand Down
Loading

0 comments on commit c7a5a28

Please sign in to comment.