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
16
votes
7 answers

GitHub Copilot not activation

GitHub Copilot show this error GitHub Copilot could not connect to server. Extension activation failed: "User not authorized" But I have authorized on GitHub
15
votes
2 answers

Is there a way to have github copilot do the code instead of just adding comments?

I just got github copilot access and i am new to it whenever i give it a comment and press tab and enter it just creates the same comment over and over again but in same cases it works is there a way to fix this? or is it just a beta error?
Maybe Lindow
  • 183
  • 1
  • 1
  • 7
14
votes
3 answers

Is there any way to install GitHub Copilot in Visual Studio 2019 (not Visual Studio Code)?

I am looking in the marketplace but it seems only available for vscode? https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
Victor Hugo Terceros
  • 2,969
  • 3
  • 18
  • 31
13
votes
7 answers

IDEA plugin 'github copilot' can't login in github

My IDEA plugin, GitHub copilot, can't login in GitHub. It is wating for GitHub Authentication... But! My VSCode can login in successfully.
曹培胜
  • 133
  • 1
  • 1
  • 7
13
votes
3 answers

Is there a way to set up GitHub copilot in Google Colab?

I am using free versions of both. I have searched GitHub documentation but I couldn't find any reference to google Colaboratory.
khowsrowpaviz
  • 153
  • 2
  • 7
12
votes
0 answers

Show copilot inline suggestion together with "regular" auto completion list in vscode

Case1: with inline no autocompletion list Case2: with autocompletion list no lineline As in the images, when Vscode triggers "regular" auto suggestion list, it disables the copilot's inline suggestion. Any way we can keep both? Btw, Nvim has both
Hao Yuan
  • 121
  • 3
11
votes
2 answers

How to accept only the next word in github copilot suggestion

I would like to be able to accept only the next word of a github Copilot suggestion, instead of the full suggestion. Is there a way to do this?
Jacob Stern
  • 3,758
  • 3
  • 32
  • 54
11
votes
1 answer

GitHub Copilot does not work after latest vscode update

GitHub Copilot stopped working after it asked to restart vscode for the last update I installed, right now it doesn't even show the icon and there are no suggestions either, it's as if it wasn't installed. I unistalled everything, even the vscode…
11
votes
4 answers

"Sign in to GitHub" prompt to enable GitHub Copilot on every VS Code launch

very time I launch VS Code, I am asked to Sign in to GitHub to enable GitHub Copilot suggestions. regardless of doing that many times. I'm a bit confused because I also have GitLens extension which works fine. Anyone else faced something…
Bek
  • 173
  • 1
  • 14
10
votes
2 answers

How to enable `Github Copilot` typing `Tab` to auto completes in markdown files?

I can get some suggestions by copilot in .md files, But when I keydowned Tab, it only added a space, not autocompletes the suggestion, What should I do can autocomplete the suggestion?
linka
  • 149
  • 1
  • 9
10
votes
1 answer

Tab does not tab and lets me out the code

I am working with ipynb file on Visual Studio Code. (with Github Copilot) I thought it would provide tab or Copilot autocomplete when I press Tab key in a code block. But it didn't, and let me out the code block - just like when I'm using Tab in a…
8
votes
1 answer

GitHub Copilot Extension Chat function not appearing in VSCode

I installed the Copilot extension, verified I was signed into my GitHub account, confirmed my billing/trial information, but I do not see the icon for the extension in my side panel to be able to engage the chat function. Does anything else need to…
Natalionaire
  • 83
  • 1
  • 4
8
votes
1 answer

Is there a way to prevent Copilot to make suggestions about paths

Copilot is suggesting relative paths that are not correct and makes a suggestion each time I write a "/" in my path string which prevents me from seeing these path suggestions from my IDE Is there a way to only disable Copilot for import paths ?
7
votes
3 answers

cannot install github copilot on visual studio 2022

Like the title says. I cannot install github copilot on visual studio 2022 version 17.4.4 (latest) i am on a arm64 windows 11 parallels virtual machine on a macbook pro with m1 chip I cannot find the extension in the "manage extensions" window and…
7
votes
1 answer

Annoying Sound with GitHub Copilot When making in-line suggetions in Visual Studio Code

Problem Statement For the last couple of days, I have been noticing that GitHub Copilot has been making a sound each time it makes a code snippet suggestion. At first, I thought there was something wrong with my computer and was worried that may…
1
2
3
13 14