diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg new file mode 100644 index 0000000..9f957b5 --- /dev/null +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg @@ -0,0 +1,53 @@ + + diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg.import b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg.import new file mode 100644 index 0000000..8b95272 --- /dev/null +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg.import @@ -0,0 +1,18 @@ +[remap] + +importer="svg" +type="DPITexture" +uid="uid://q0cktiwdkt1e" +path="res://.godot/imported/HtmlFile.svg-63b9fb0bf708d802f7c728303e516b0d.dpitex" + +[deps] + +source_file="res://Features/SolutionExplorer/Resources/FileExtensions/HtmlFile.svg" +dest_files=["res://.godot/imported/HtmlFile.svg-63b9fb0bf708d802f7c728303e516b0d.dpitex"] + +[params] + +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs b/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs index 1a3ff93..ad6499f 100644 --- a/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs @@ -9,6 +9,7 @@ public partial class SolutionExplorerPanel private readonly Texture2D _razorIcon = ResourceLoader.Load("uid://cff7jlvj2tlg2"); private readonly Texture2D _jsonIcon = ResourceLoader.Load("uid://csrwpjk77r731"); private readonly Texture2D _jsIcon = ResourceLoader.Load("uid://cpdobpjrm2suc"); + private readonly Texture2D _htmlIcon = ResourceLoader.Load("uid://q0cktiwdkt1e"); private readonly Texture2D _txtIcon = ResourceLoader.Load("uid://b6bpjhs2o1j2l"); private Texture2D GetIconForFileExtension(string fileExtension) @@ -19,6 +20,7 @@ public partial class SolutionExplorerPanel ".razor" or ".cshtml" => _razorIcon, ".json" => _jsonIcon, ".js" => _jsIcon, + ".html" or ".htm" => _htmlIcon, ".txt" => _txtIcon, _ => _csIcon };