Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { registerAttachPromptActions } from './attachInstructionsAction.js';
7
import { registerChatModeActions } from './chatModeActions.js';
8
import { registerRunPromptActions } from './runPromptAction.js';
9
import { registerSaveToPromptActions } from './saveToPromptAction.js';
10
import { registerNewPromptFileActions } from './newPromptFileActions.js';
11
12
13
/**
14
* Helper to register all actions related to reusable prompt files.
15
*/
16
export function registerPromptActions(): void {
17
registerRunPromptActions();
18
registerAttachPromptActions();
19
registerSaveToPromptActions();
20
registerChatModeActions();
21
registerNewPromptFileActions();
22
}
23
24