Add .razor icon

This commit is contained in:
Matt Parker
2025-11-28 23:26:26 +10:00
parent e75d1319ef
commit 576ade5bfc
11 changed files with 139 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ public class SharpIdeSolutionModificationService(FileChangedService fileChangedS
public async Task<SharpIdeFile> CreateFile(IFolderOrProject parentNode, string newFilePath, string fileName, string contents)
{
var sharpIdeFile = new SharpIdeFile(newFilePath, fileName, parentNode, []);
var sharpIdeFile = new SharpIdeFile(newFilePath, fileName, Path.GetExtension(newFilePath), parentNode, []);
var correctInsertionPosition = GetInsertionPosition(parentNode, sharpIdeFile);