-
Book Overview & Buying
-
Table Of Contents
Supercharged Coding with GenAI
By :
The chat feature complements GitHub Copilot’s code completion capabilities. The chat window can assist with questions related to your code, external topics, terminal commands, and even the VS Code IDE itself.
In VS Code, you can open the Copilot chat window using Ctrl + Alt + I (or cmd + control + I on Mac). Alternatively, click on the Copilot icon next to the top search bar of the screen.

Figure 3.10: GitHub Copilot chat window in VS Code
In PyCharm, you can open the Copilot chat window using Ctrl + Shift + C or by selecting the GitHub Copilot Chat tab in the left-hand menu.

Figure 3.11: GitHub Copilot chat window in PyCharm
Let us look at an example. Open a new chat window and enter this prompt:
What can you do?
Copilot will respond with examples of use cases across the three interaction modes, such as refactoring existing code (analysis), generating unit tests (completion), providing version control assistance (chat...