Support for Visual Studio Code Insiders

This commit is contained in:
VNC
2020-12-28 21:12:52 +01:00
parent dc1360422f
commit e0c362856e
4 changed files with 31 additions and 7 deletions

View File

@@ -54,6 +54,9 @@ namespace FlaxEditor.Modules.SourceCodeEditing
case CodeEditorTypes.VSCode:
Name = "Visual Studio Code";
break;
case CodeEditorTypes.VSCodeInsiders:
Name = "Visual Studio Code - Insiders";
break;
default: throw new ArgumentOutOfRangeException(nameof(type), type, null);
}
}
@@ -68,7 +71,9 @@ namespace FlaxEditor.Modules.SourceCodeEditing
{
switch (Type)
{
case CodeEditorTypes.VSCode: return "-vscode";
case CodeEditorTypes.VSCodeInsiders:
case CodeEditorTypes.VSCode:
return "-vscode";
default: return null;
}
}