cody icon indicating copy to clipboard operation
cody copied to clipboard

Ability to define a context root folder

Open chrisjimallen opened this issue 1 year ago • 8 comments

Version

1.18.0

Areas for Improvement

  • [ ] UI/UX
  • [ ] Onboarding
  • [ ] Docs
  • [ ] Chat
  • [ ] Commands
  • [X] Context
  • [ ] Response Quality
  • [ ] Other

What needs to be improved? Please describe how this affects the user experience and include a screenshot.

I often encounter issues with my VScode workspace projects, whereby the Cody extension attempts to index the entire codebase, and results in Cody using most of my system resources.

This is because a lot of projects are wider codebases which include git repositories in sub directories of the project.

Describe the solution you'd like to see

The ability to define a specific folder in the open Workspace, in order to focus context from that root directory.

A good example would be a WordPress site, with a lot of custom plugin repositories, where I'd want to be able to access the entire Wordpress codebase from VScode, but limit Cody to a specific plugin directory, for a more focused context.

This could either be a setting option, or a conext menu option to 'Set Context Root'.

Describe any alternatives that could be considered

This could probably be acheived by ignoring other folders, but would probably be a more complex UI experience.

chrisjimallen avatar May 20 '24 12:05 chrisjimallen