void
void copied to clipboard
Add configuration settings for prompt and terminal related activities
Let me know if there's any changes needed on my end! :)
Notes on Changes Made
Date: 2025-08-08 Files Modified:
-
src/vs/workbench/contrib/void/browser/editCodeService.ts -
src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx -
src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx -
src/vs/workbench/contrib/void/browser/terminalToolService.ts -
src/vs/workbench/contrib/void/browser/toolsService.ts -
src/vs/workbench/contrib/void/common/directoryStrService.ts -
src/vs/workbench/contrib/void/common/prompt/prompts.ts -
src/vs/workbench/contrib/void/common/voidSettingsTypes.ts
Issue Reference:
- #728
- #750
Summary
Updated messageOfSelection to correctly parse selected lines when the user presses CMD + L, resolving an issue where the entire file was previously being passed instead of the intended selection.
Change Details
- Added
SettingsReact components to include new section for a "Limits" section:- Created a
LimitComponentand accompanyingLimitsListto display different subsections for the settings- Note: components include checks to ensure values are valid, non-negative numbers
- Created a
- Updated the settings to include new values in
GlobalSettingsfor previously hard-coded values found inprompts.ts - Updated relevant services to reference the new settings in
GlobalSettings
Reason
The above issues mention eventually adding the ability to configure settings related to limits on prompt and terminal related actions. This aims to address those issues while staying as consistent as possible with the original code-base.