diff --git a/src/context/contextCustomCommand.ts b/src/context/contextCustomCommand.ts index 8252e82..f28a217 100644 --- a/src/context/contextCustomCommand.ts +++ b/src/context/contextCustomCommand.ts @@ -7,7 +7,7 @@ import { UiUtilWrapper } from '../util/uiUtil'; export const customCommandContext: ChatContext = { name: '', - description: 'custorm command', + description: 'execute your input command and retrieve output', handler: async () => { // popup a dialog to ask for the command line to run const customCommand = await UiUtilWrapper.showInputBox({ diff --git a/src/context/contextDefRefs.ts b/src/context/contextDefRefs.ts index d98463d..8959802 100644 --- a/src/context/contextDefRefs.ts +++ b/src/context/contextDefRefs.ts @@ -53,7 +53,7 @@ async function getSelectedSymbol(): Promise { export const defRefsContext: ChatContext = { name: 'symbol references', - description: 'References of symble', + description: 'find code sites referencing the selected symbol (class, function, variable, etc.)', handler: async () => { const activeEditor = vscode.window.activeTextEditor; if (!activeEditor) { diff --git a/src/context/contextGitDiff.ts b/src/context/contextGitDiff.ts index 7175451..bedbbde 100644 --- a/src/context/contextGitDiff.ts +++ b/src/context/contextGitDiff.ts @@ -7,7 +7,7 @@ import { logger } from '../util/logger'; export const gitDiffContext: ChatContext = { name: 'git diff HEAD', - description: 'diff for all changes', + description: 'all changes since the last commit', handler: async () => { const tempDir = await createTempSubdirectory('devchat/context'); const diffFile = path.join(tempDir, 'diff_all.txt'); diff --git a/src/context/contextGitDiffCached.ts b/src/context/contextGitDiffCached.ts index b5c8430..a661818 100644 --- a/src/context/contextGitDiffCached.ts +++ b/src/context/contextGitDiffCached.ts @@ -7,7 +7,7 @@ import { logger } from '../util/logger'; export const gitDiffCachedContext: ChatContext = { name: 'git diff --cached', - description: 'diff for cached changes', + description: 'the staged changes since the last commit', handler: async () => { const tempDir = await createTempSubdirectory('devchat/context'); const diffFile = path.join(tempDir, 'diff_cached.txt'); diff --git a/src/context/contextRefDefs.ts b/src/context/contextRefDefs.ts index 5a8a605..f7f4500 100644 --- a/src/context/contextRefDefs.ts +++ b/src/context/contextRefDefs.ts @@ -173,7 +173,7 @@ async function getSymbolDefine(symbolList: string[]): Promise { export const refDefsContext: ChatContext = { name: 'symbol definitions', - description: 'Definitions of symbol', + description: 'find related definitions of classes, functions, etc. in selected code', handler: async () => { const selectedText = await getCurrentSelectText(); const symbolList = await getUndefinedSymbols(selectedText); diff --git a/src/views/components/InputMessage/index.tsx b/src/views/components/InputMessage/index.tsx index 7d6ae40..c745a98 100644 --- a/src/views/components/InputMessage/index.tsx +++ b/src/views/components/InputMessage/index.tsx @@ -468,7 +468,7 @@ const InputMessage = observer((props: any) => { borderColor: 'var(--vscode-menu-border)', backgroundColor: 'var(--vscode-menu-background)' }}> - DevChat Commands + DevChat Workflows {commandMenusNode} diff --git a/workflows/default/context/git_log_for_releasenote/_setting_.json b/workflows/default/context/git_log_for_releasenote/_setting_.json index ffe6b46..cc43c37 100644 --- a/workflows/default/context/git_log_for_releasenote/_setting_.json +++ b/workflows/default/context/git_log_for_releasenote/_setting_.json @@ -1,6 +1,6 @@ { - "name": "git_log_releasenote", - "description": "git log for write release note", + "name": "git log for release note", + "description": "formatted commit history since the specified commit", "edit": true, "command": ["git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:\"%h - %B\""] } \ No newline at end of file