Feature Request: Allow to set working directory and/or set dirsToIgnore in listFiles and files listed limit as settings #602
loganrooks
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently developing in a repo where the working directory includes sub-directories unimportant to development, only a single folder, /src/ is important. Yet getEnvironmentDetails in core/Cline.ts:2733-2744 extracts the file context from the current working directory, which includes for me these unnecessary directories. And because these unnecessary directories have quite a bit of files in them within the first level, they quickly use up the hardcoded 200 files limit. So being able to set the root directory of the workspace of concern and also dirsToIgnore in listFiles, so that the more relevant aspects of the directory structure can be listed in the prompt, would be incredibly useful. It would also make sense to have the files listed limit be a setting perhaps under or above the Terminal Output Limit setting.
Beta Was this translation helpful? Give feedback.
All reactions