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
-4
votes
0 answers

How to switch Github Copilot suggestions using Vim on Macbook?

Using Linux VM on Macbook, I can't figure out how to change the Copilot suggestions. I read the official docs and there it said that in Linux it's Alt + ] and in Macbook it's Option + ]. However these don't seem to work. I have used VSC in the past…
-4
votes
1 answer

What is the meaning of this expression

I am trying to push a integer that is stored in a string to a stack of type int I was trying to do the same by using stack.push(str[i]) which resulted in some weird values in the final outcome Github copilot suggeted to do it this way which was…
1 2 3
13
14