Feedback

Chat Icon

Building with GitHub Copilot

From Autocomplete to Autonomous Agents

If Content is King, Then Context is God
63%

More Context Options

In addition to the context variables we discussed earlier, there are more options to provide more context. In the chat box, you should be able to see the Add context button next to the input field. Clicking on it will open a menu with more options to provide context to your request.

Add context options

Add context options

These options include:

  • Open Editors: We have already discussed this option. It allows you to select one or more open files in your editor to be used as context.

  • Files & Folders: This option allows you to select one or more files or folders in your workspace to be used as context.

  • Instructions: This option allows you to select one or more custom instruction files in your workspace.

  • Screenshots Window: This option will take a screenshot of your current window and use it as context. This is useful when you are developing a UI or anything where you want to provide visual context to your query.

  • Source Control: This option will fetch the current changes in your source control and allow you to select one or more changes to be used as context.

Building with GitHub Copilot

From Autocomplete to Autonomous Agents

Enroll now to unlock all content and receive all future updates for free.