github / github/copilot.vim

How can I control the context?

Đang mở
#115 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vim Script
Star
11.7k
Fork
810
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi!

I suppose the title says it all.

I use many ai-tools, for example aider, aichat and CodeCompanion. Setting the appropiate context is crucial for good output. However, I have yet to understand how / if it is possible to provide a certain context reliably to Copilot Inline Suggestions. If not, is there any other (perhaps indirect) way to do it that actually works somewhat reliably?

I have searched for answers on the web but most often find results that seems more relevant to Copilot Chat which is not what I am after.

This feels sooo central to getting better inline completions. Grateful for any comment.

*(Typical example: I want to get better hints for Svelte 5. Currently the suggestions are typically Svelte 4 as the training data is limited. I want to insert a condensed cheatsheet)*

Note: If the answer is NO, then please let me know and I can stop looking.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.