-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to use RubberDuck to understand your entire codebase #31
Comments
Repository index is aimed at bringing repository information into the prompt and give Rubberduck some codebase knowledge. That being said, I think the goal of having it understand patterns in your codebase is out-of-reach, at least in the short term. |
There is now an experimental index repository command (needs to be enabled). It can be used together with your own templates (retrieval augmentation). |
Hi, I am fairly new to programming and learning python with the help of ChatGPT. It would be a great help for beginners like me if I could skip the copy/paste part and just create a list of files which code should be passed to the AI when starting a conversation or asking a question. Or if I could pose a question and direct the AI to read specific files before replying. |
@lgrammel hey! maybe this can give you some inspiration https://github.com/gannonh/gpt3.5-turbo-pgvector |
@lgrammel I am thinking that one way to address this is to do something like what Github copilot does - pass as context all the files in open editors. Does that sound reasonable to you? If so, I can take a crack at implementing it. |
Cody AI does this and is very useful. To scan the entire workspace and not just a single file at a time. Would like to see Rubberduck do this I also made this feature request for a fork of this extension called Privy |
Is this request related to a problem? Please describe.
N/A
Describe the solution you'd like
I would like to be able to ask questions and generate code in the same style as my current codebase. Including editing multiple files if that action required it.
Additional context
For example, I have a new service that I want to integrate into my codebase but that requires updating and creating of multiple files. If it understood the codebase then it would understand that and make all the appropriate changes instead of just a one-off generation where I then have to update or ask it for the next changes. I saw what could be the beginning of this with the work done here https://github.com/rubberduck-ai/repository-index
The text was updated successfully, but these errors were encountered: