Quick Tips for using Copilot Chat with C++ in Visual Studio

- Copilot Chat is now available in both Visual Studio and Visual Studio Code.
- You can open the chat window by navigating to View > GitHub Copilot Chat or right-clicking and selecting Ask Copilot.
- Use /explain to get code explanations on a desired function or file.
- Use /generate to ask Copilot Chat to generate a specific snippet of code.
- You can see code references in the References flyout.
- Copilot Chat can help with tasks such as making code more readable, generating functions, generating test cases, and understanding code snippets.
- You can ask Copilot Chat to simplify code by highlighting it and right-clicking to Ask Copilot.
- Copilot Chat can append static modifiers to member functions that do not change the state of an object.
- You can generate code by asking Copilot Chat to create a new function in a specified file using the /generate command.
- Copilot Chat can create tests for your code, and you can specify the testing framework you want to use.
- Copilot Chat can explain C++ code in plain language while referencing symbols.
- Visual Studio is actively working on integrating Copilot Chat further and welcomes any suggestions for improvement.