Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Add configuration settings for prompt and terminal related activities#867

Open
rohitrrane wants to merge 2 commits into
voideditor:mainfrom
rohitrrane:main
Open

Add configuration settings for prompt and terminal related activities#867
rohitrrane wants to merge 2 commits into
voideditor:mainfrom
rohitrrane:main

Conversation

@rohitrrane

Copy link
Copy Markdown

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:

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

@andrewpareles andrewpareles force-pushed the main branch 11 times, most recently from 360390b to b3166e7 Compare June 2, 2026 22:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant