github / github/copilot.vim

How can I control the context?

オープン
#115 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Vim Script
スター
11.7k
フォーク
810
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。