Fix Editor project file generation to use custom code editor arguments

This commit is contained in:
2025-12-18 23:52:06 +02:00
parent f18e636aef
commit 74fd76e86c
10 changed files with 57 additions and 20 deletions

View File

@@ -29,19 +29,7 @@ namespace FlaxEditor.Modules.SourceCodeEditing
public string Name { get; set; }
/// <inheritdoc />
public string GenerateProjectCustomArgs
{
get
{
switch (Type)
{
case CodeEditorTypes.VSCodeInsiders:
case CodeEditorTypes.VSCode: return "-vscode -vs2022";
case CodeEditorTypes.Rider: return "-vs2022";
default: return null;
}
}
}
public string GenerateProjectCustomArgs => CodeEditingManager.GetGenerateProjectCustomArgs(Type);
/// <inheritdoc />
public void OpenSolution()