mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
feat: External editor settings (#882)
This commit is contained in:
parent
dd53e5c96a
commit
1ef68e0612
23 changed files with 849 additions and 81 deletions
|
|
@ -66,6 +66,7 @@ export const useSlashCommandProcessor = (
|
|||
setShowHelp: React.Dispatch<React.SetStateAction<boolean>>,
|
||||
onDebugMessage: (message: string) => void,
|
||||
openThemeDialog: () => void,
|
||||
openEditorDialog: () => void,
|
||||
performMemoryRefresh: () => Promise<void>,
|
||||
toggleCorgiMode: () => void,
|
||||
showToolDescriptions: boolean = false,
|
||||
|
|
@ -181,6 +182,13 @@ export const useSlashCommandProcessor = (
|
|||
openThemeDialog();
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'editor',
|
||||
description: 'open the editor',
|
||||
action: (_mainCommand, _subCommand, _args) => {
|
||||
openEditorDialog();
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'stats',
|
||||
altName: 'usage',
|
||||
|
|
@ -745,6 +753,7 @@ Add any other context about the problem here.
|
|||
setShowHelp,
|
||||
refreshStatic,
|
||||
openThemeDialog,
|
||||
openEditorDialog,
|
||||
clearItems,
|
||||
performMemoryRefresh,
|
||||
showMemoryAction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue