I am writing the backend and front end separately for a project. I want to speed up my frontend dev process by attaching a few files in the context of Cody AI of my frontend project. Right now, this cannot be done. I can only attach external links which is not suitable for this instance as the backend codebase is still being developed locally. Even if it was pushed to Git Hub, it would be private.
It would be great if local files from a directory outside the codebase could be added as context.
P.S: I am using Cody pro in Vscode.
1 Like
Hey @towfiqi
you can use the Cody-Architect extension to choose external files as context for Cody in the chat.
I hope that helps.
1 Like
@towfiqi if you open the local files within your vs code window you can reference them even if they are outside of the workspace. The key is to have them open and then they show up when you add @
Here are 2 screenshots where I show such a behavior, I simply hit ctrl + o and selected a file outside of the workspace and I am now able to ask it questions from Cody.
This might be a hassle when you have many files that you need to reference from many folders but hey, it’s a workaround if you want to use it.
1 Like
Thanks for the replies, guys.
David’s solution worked a treat!
1 Like