Questions tagged [github-copilot]

GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Per https://copilot.github.com:

GitHub Copilot is powered by Codex, the new AI system created by OpenAI. GitHub Copilot understands significantly more context than most code assistants. So, whether it's in a docstring, comment, function name, or the code itself, GitHub Copilot uses the context you've provided and synthesizes code to match. Together with OpenAI, GitHub Copilot is designed to get smarter at producing safe and effective code as developers use it.

198 questions
2
votes
1 answer

Github copilot activation woes in Visual Studio 2022

I got Copilot to work immediately in Visual Studio Code but on the same laptop can't get it working in Visual Studio 2022. I installed the extension and when I restart VS22 and load a project I get the messagebox from Copilot to connect with the…
Kris van der Mast
  • 16,343
  • 8
  • 39
  • 61
2
votes
0 answers

Is there a way to set the default line ending for GitHub Copilot?

I am trying out GitHub Copilot on a project that uses CRLF for all line endings. Copilot often suggests other line endings (CR or LF). Is there a way to configure or tell Copilot to only use a certain line ending?
JasonC
  • 139
  • 8
2
votes
0 answers

vs code copilot icon gone

I can't find the github copilot icon for vs code I tried uninstalling and reinstalling the GitHub Copilot extension and reloaded the window i closed the vscode with taskmanger and restarted it and i cant get it to work.
2
votes
1 answer

Android co pilot generate from comments

I tried android kotlin co pilot and it works when I write function name - it proposes to generate outcome. Also it proposes to finish line of kotlin code. But it doesn't generate code based in comments in kotlin or comments in XML, like in that…
Kyryl Zotov
  • 1,788
  • 5
  • 24
  • 44
2
votes
1 answer

GitHub Copilot Doesn't Generate Code From Comments in VS Code- extension is enabled

I have Github Copilot installed and enabled, but it doesn't generate any code after I type in a comment and press Enter. Just goes to next line and nothing happens. I'm on a Mac running VS Code- both up-to-date. Copilot is just installed, so it's…
2
votes
1 answer

Copilot VSCode extension Settings.json

I use the official copilot extension for vscode I find the advanced setting in the setting option but i don't find any documentation of all possible option that i can use in that section: "github.copilot.advanced": { } someone know where to find…
Diego
  • 21
  • 2
2
votes
1 answer

Github CoPilot problem with error statusCode=407

I'm working for a company using proxy and that setting is done, to be able to use CoPilot. Afterwards I started getting this error, CoPilot seems to work but the error keeps coming. Anyone have the same problem? Or the solution? [ERROR] [default]…
2
votes
2 answers

Intellij Github Copilot accept one line of several

Is there a simple way, key shortcut or so, to accept part of a copilot suggestion? It would be intuitivt to have e.g. alt arrow forward to accept word by word, or alt tab for the entire line. But I can only get it to either accept the entire…
Manolo
  • 1,597
  • 4
  • 21
  • 35
2
votes
0 answers

GitHub Copilot extension on VS 2022

I have installed the copilot on my VS 2022 successfully (My work laptop). I also have paid an annual fee. but when I log in and activate it (paste the code and the message 'Congratulations, you're all set! Your device is now connected.' shown on the…
Helen
  • 31
  • 1
2
votes
0 answers

In the extension development of Visual Studio, is there an API similar to the effect of the Decoration API in the extension of VSCode?

I am developing a code completion extension. I have achieved the effect in the figure below in both VSCode and Jetbrains IDE, that is, the completion content is displayed in gray text behind the code. In VSCode, I can achieve it through the…
2
votes
0 answers

Github Copilot Auto complete Quotes and Brackets

i have an issue with github copilot's auto complete. When coding C in vscode, the auto complete suggest me some code but without closing brackets and quotes. how to fix it? Here is an example of code (just an example, don't care what is it :)), you…
2
votes
2 answers

GitHub Copilot in IntelliJ does not work, becomes red, cannot update it or uninstall it

My GitHub Copilot got messed up: it doesn't work and I cannot update it or uninstall it because I get an error. When I type even one character in the IDEe the logo becomes red: If I dare to try uninstalling it or update it I get this error: I…
2
votes
1 answer

How to make Github copilot use single quotes

how to make Github copilot use single quotes instead of double quotes ? I checked the VSCode settings and can't find it
Docmaillou
  • 21
  • 2
2
votes
2 answers

Github Copilot Stop Working, Error parsing extraData: service unavailable

I was using github copilot up until recently (probably early Sept 2021), and suddenly notices that copilot stop showing suggestions. I inspected the logs in the VSCode and it shows similar output every time [INFO] [ghostText]…
2
votes
1 answer

VSCode not adding closing brackets with correct settings

My vscode editor is set to automatically add closing brackets/parenthesis but does not add them. This is a new issue that only recently began. Has anyone else experienced this issue with global vscode settings?
canaan seaton
  • 6,688
  • 4
  • 17
  • 25