devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
340 stars 39 forks source link

Automatic Context Detection from Open Files for Assistant #341

Open runjinz opened 4 months ago

runjinz commented 4 months ago

Feature Description

I propose a feature where the assistant automatically detects and uses the context from files currently being edited. This would greatly reduce the manual effort required by users to provide context for questions or commands they are asking the assistant. The assistant should at least be sensitive to the opened files, considering them as part of the question-and-answer context.

Benefits

Implementation Considerations

Conclusion

This feature could significantly enhance the usability and effectiveness of the assistant, making it more intuitive and responsive to the users' current working context. It aligns with the goal of reducing manual workload and improving overall user experience.

img_v3_029t_f98e53f4-001b-4d73-a2c8-e2171a16e7eg