commanddash
commanddash copied to clipboard
[Feat]: Display References in a Tree View. (Research)
Is your feature request related to a problem?
Large Language Models work the best when they have the right contextual code. While embedding matching and analyzer helps us automatically extract relevant contextual code from the project, it is not always reliable.
This is why FlutterGPT has an "Add to Reference" feature that allows users to manually mark certain selected code as reference. This reference will later be attached in the prompt.
However, the current way is not the best UX. References take up half of the editor window and are displayed in full.
Describe the solution that you'd like
The ideal experience would be to display the reference somewhere:
- Easily findable.
- Mentioned in summarised manner.
- Ability for user to visit the actual reference code when tapped.
- Ability for user to remove one or few references.
It looks like that the Tree View API offered by VSCODE comes quite close to this requirement.
Describe alternatives that you have considered
No response
Additional Information
No response
Acceptance Criteria
The current acceptance criteria only require R&D to see if it's feasible to show references in the tree view and what does the final UX look like.
Once we have a clear idea, we can discuss and see if we want to proceed with this method or find other better options.
Hi @samyakkkk I would like to take up this task
Thanks, assigned.