6 ms·
This is from the Phind extension for VS Code: > Use the input box at the bottom to ask questions. Phind will automatically use your codebase to answer I don't
by gtirloni 3y ago
This is from the Phind extension for VS Code:
> Use the input box at the bottom to ask questions. Phind will automatically use your codebase to answer
I don't know why I can't get GitHub Copilot Chat extension to do this. It always replies it can't answer questions about the codebase and that I should ask it to do something.
Is that even possible? I've tried @workspace but I didn't work. I must be doing something wrong.
- thomasfromcdnjs 3y agoI'd piggyback this comment to ask if anyone could share how codebase prompts work? Given the max tokens per request, do the extensions look at your currently open file, and use some vector similarity to find other files that could be relevant (if embeddings were generated for all files in the project), and then inject relevant source. And/or is it even more complex, by using AST parsing and creating embeddings out of actual linked functions?
- sagarpatil 3y agoThere are YouTube videos that go into detail. From what I can remember, it first creates an embedding of your full code, it then refers to your open file and the files next to your current tab, it then extracts the most useful code related to your question.
- clbrmbr 3y agoCan you share a video link?