GitHub Copilot Context

How to provide coding guidelines for GitHub Copilot and influence GitHub Copilot suggestions.
In my project, I use naming conventions for models. I have different suffixes for different model types, and I subclass my models from various base classes.
It would be awesome if I could let GitHub Copilot know about my conventions, so it can suggest more accurate code right from the start.
Based on my experience, GitHub Copilot seems to make suggestions by considering the context beyond the current file. The developers of Copilot have confirmed this, although they haven’t explicitly mentioned what exactly is included in this context. Here’s a discussion on this topic: GitHub Copilot Context Discussion.
评论
?
参与讨论