From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Default context: What Copilot sees

Default context: What Copilot sees

We can always provide explicit context, but we should take a few minutes to talk about what other context is supplied by Visual Studio Code. I'm talking about the workspace context, but first let's take a side trip to talk about chat configuration. So if you go in the chat panel, you go to the gear and choose chat settings, you get this window and I've searched for implicit. And there are two settings that affect the implicit features of the chat panel. the whether or not it's enabled. In this case, the default is it's always enabled. And the second one is this checkbox for suggested context. Now, if this checkbox is checked and you select a file, you'll see the chip here at the top that shows your implicit context. If you uncheck this checkbox, you will not see that chip. Okay, so let's turn that back on. And then we're gonna talk about the settings that are available for this. I can have it to be always on, which I said is the default, I can have it be never on, so we'll never do…

Contents