+
-
-
+
+
{/* TODO we should create UI for downloading models without user going into terminal */}
@@ -494,7 +494,7 @@ let transferError: string | null = null
try { transferTheseFiles = transferTheseFilesOfOS(os) }
catch (e) { transferError = e + '' }
-const OneClickSwitch = () => {
+const OneClickSwitchButton = () => {
const accessor = useAccessor()
const fileService = accessor.get('IFileService')
@@ -542,28 +542,75 @@ const OneClickSwitch = () => {
const GeneralTab = () => {
+ const accessor = useAccessor()
+ const commandService = accessor.get('ICommandService')
+
return <>
+
+
+
+
One-Click Switch
+ {`Transfer your settings from VS Code to Void.`}
+
+
+
+
+ {/*
+
Rules for AI
+ {`placeholder: "Do not add ;'s. Do not change or delete spacing, formatting, or comments. Respond to queries in French when applicable. "`}
+ */}
+
+
+
+
+
+
Built-in Settings
+
{`IDE settings, keybindings, and theme customization.`}
+
+
+ { commandService.executeCommand('workbench.action.openSettings') }}>
+ General Settings
+
+
+
+ { commandService.executeCommand('workbench.action.openGlobalKeybindings') }}>
+ Keyboard Settings
+
+
+
+ { commandService.executeCommand('workbench.action.selectTheme') }}>
+ Theme Settings
+
+
+
+ {/*
+
General Settings
+ {`VS Code's built-in settings.`}
+ { commandService.executeCommand('workbench.action.openSettings') }}>
+ General Settings
+
+
+
+
+
Keyboard Settings
+ {`Void can access models from Anthropic, OpenAI, OpenRouter, and more.`}
+ { commandService.executeCommand('workbench.action.openGlobalKeybindingsFile') }}>
+ Keyboard Settings
+
+
+
+
+
+
Theme
+ { commandService.executeCommand('workbench.action.selectTheme') }}>
+ Theme
+
+ */}
+
+
{/*
*/}
- {/* keyboard shortcuts */}
-
General Settings
-
{`VS Code's built-in settings.`}
-
-
Keyboard Settings
-
{`Void can access models from Anthropic, OpenAI, OpenRouter, and more.`}
-
-
-
One-click Switch
-
{`Transfer your settings from VS Code into Void.`}
-
-
-
-
Theme
-
-
-
Rules for AI
- {/* placeholder: "Do not add ;'s. Do not change or delete spacing, formatting, or comments. Respond to queries in French when applicable. " */}
>
}