void icon indicating copy to clipboard operation
void copied to clipboard

Add configuration settings for prompt and terminal related activities

Open rohitrrane opened this issue 5 months ago • 0 comments

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 Settings React components to include new section for a "Limits" section:
    • Created a LimitComponent and accompanying LimitsList to display different subsections for the settings
      • Note: components include checks to ensure values are valid, non-negative numbers
  • Updated the settings to include new values in GlobalSettings for previously hard-coded values found in prompts.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.

Images

image

rohitrrane avatar Aug 08 '25 15:08 rohitrrane