
The three different “explain” examples showcase strategies that tend to produce useful responses from the model, but this is uncharted territory. Creating these can feel more like an art than a science! Small changes in the formulation of the prompt and stop sequence can produce very different results. You can customize the prompt and stop sequence of a query in order to come up with new applications that use Codex to interpret code. We provide a few preset prompts to get you started: three that explain what a particular block of code does, and another that generates example code for calling a function.
In the Developer Tools window, select the Console tab to see any errors or warnings.Your browser does not support the video tag. Type "Toggle", and then select Developer: Toggle Developer Tools from the list. If you encounter errors and there is nothing in the logs, you may try to see the logs from the process running VS Code and the extension. In rare cases, errors might not be propagated to the corresponding error handlers and are not logged in the regular locations.
Check the section on Reachability to determine if GitHub Copilot can actually access the necessary services. This opens a new editor with the relevant information that you can inspect yourself or share with the support team. Type "Diagnostics", and then select GitHub Copilot: Collect Diagnostics from the list. If you encounter problems connecting to GitHub Copilot due to network restrictions, firewalls, or your proxy setup, use the following troubleshooting steps. Viewing network connectivity diagnostics logs Type "Logs", and then select Developer: Open Extension Logs Folder from the list. This is useful if you need to forward the log files to the support team. On the right of the Output view pane, select GitHub Copilot from the dropdown menu.Īlternatively, you can open the log folder for Visual Studio Code extensions in your system's file explorer. Open the View menu in Visual Studio Code. The log files are useful for diagnosing connection issues. The log files for the GitHub Copilot extension are stored in the standard log location for Visual Studio Code extensions. Open the idea.log in your preferred editor and look for any errors related to GitHub or GitHub Copilot.įor more information, see the Locating IDE log files in the IntelliJ documentation. In your JetBrains IDE, open the Help menu. The GitHub Copilot extension logs to the IDEA log location for IntelliJ plugins. These steps describe how to view and collect the log files for the following JetBrains IDEs: For more information, see " Configuring GitHub Copilot in your environment." Collecting log files The location of the log files depends on the JetBrains IDE you are using. To troubleshoot issues with GitHub Copilot or your JetBrains IDE, you can view the log files. About troubleshooting GitHub Copilot in your JetBrains IDE