| 1 | namespace CascadeIDE.Services; |
| 2 | |
| 3 | /// <summary>Сборка, тесты, форматирование, метрики и вывод сборки (ide_execute_command).</summary> |
| 4 | public static partial class IdeCommands |
| 5 | { |
| 6 | /// <summary>Сборка решения (структурированный результат). returns: json.</summary> |
| 7 | public const string Build = "build"; |
| 8 | /// <summary>Сборка решения (структурированный результат). То же, что <c>build</c>; выделено для совместимости/алиасов. returns: json.</summary> |
| 9 | public const string BuildStructured = "build_structured"; |
| 10 | /// <summary>Запустить тесты решения. returns: json.</summary> |
| 11 | public const string RunTests = "run_tests"; |
| 12 | /// <summary>Запустить затронутые тесты по changed_paths (или fallback на полный прогон). args: changed_paths?:string[]; returns: json; example: {"changed_paths":["a.cs","b.cs"]}.</summary> |
| 13 | public const string RunAffectedTests = "run_affected_tests"; |
| 14 | /// <summary>Запустить code cleanup (<c>dotnet format</c>). args: include_path?:string; returns: json; example: {"include_path":"src"}.</summary> |
| 15 | public const string RunCodeCleanup = "run_code_cleanup"; |
| 16 | /// <summary>Метрики кода (LOC/классы/методы/цикломатика). args: scope?:string, path?:string; returns: json; example: {"scope":"solution","path":"."}.</summary> |
| 17 | public const string GetCodeMetrics = "get_code_metrics"; |
| 18 | /// <summary>Текст панели «Вывод сборки» + цвета оформления. returns: json.</summary> |
| 19 | public const string GetBuildOutput = "get_build_output"; |
| 20 | } |
| 21 | |