| 1 | using System.Collections.Immutable; |
| 2 | |
| 3 | namespace CascadeIDE.Services; |
| 4 | |
| 5 | /// <summary>Палитра: меню «Файл» (см. <see cref="IdeCommands"/> в <c>IdeCommands.Chrome.cs</c>).</summary> |
| 6 | public static partial class IdeCommandRegistry |
| 7 | { |
| 8 | private static void RegisterFileMenu(ImmutableArray<IdeCommandRegistryEntry>.Builder b) |
| 9 | { |
| 10 | // ——— Меню «Файл» / приложение |
| 11 | AddPalette(b, "open_solution_dialog", IdeCommands.OpenSolutionDialog, "Открыть решение…", "Файл"); |
| 12 | AddPalette(b, "create_new_solution_dialog", IdeCommands.CreateNewSolutionDialog, "Создать новое решение…", "Файл"); |
| 13 | AddPalette(b, "open_folder_dialog", IdeCommands.OpenFolderDialog, "Открыть папку…", "Файл"); |
| 14 | AddPalette(b, "open_file_dialog", IdeCommands.OpenFileDialog, "Открыть файл…", "Файл"); |
| 15 | AddPalette(b, "export_expanded_markdown", IdeCommands.ExportExpandedMarkdown, "Export expanded Markdown…", "Файл"); |
| 16 | AddPalette(b, "exit_application", IdeCommands.ExitApplication, "Выход", "Файл"); |
| 17 | } |
| 18 | } |
| 19 | |