sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.63k stars 281 forks source link

feedback: Switch cody ignore directly from the explorer at folder and file level #4002

Closed PriNova closed 3 months ago

PriNova commented 5 months ago

Version

Pre-release

Areas for Improvement

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

The idea is to enable users to toggle files and/or folders on or off in the explorer as ignored context for Cody. Rather than modifying a Cody ignore file, users can directly ignore or grant context within the file and folder explorer. Items added as ignored context would be visually indicated with a Cody symbol.

Describe the solution you'd like to see

This solution could significantly improve the user experience by eliminating the need for users to consider glob patterns and similar complexities.

Describe any alternatives that could be considered

No response

Additional context

No response

jdorfman commented 5 months ago

@PriNova are there examples of other assistants doing this?

PriNova commented 5 months ago

@jdorfman GitHub Co-Pilot, similar to other VS Code tools, utilizes the .gitignore file. However, I've noticed that no other tools offer the capability to visually toggle files or folders on and off in the file explorer.

This functionality is common in most 3D computer graphics applications, where it's used to exclude objects from rendering or to remove them from the viewport. I consider this to be a very user-friendly feature.

jdorfman commented 5 months ago

@PriNova got it thanks I will make sure the product team sees this

github-actions[bot] commented 3 months ago

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.