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
7
votes
1 answer

Any chance Github Copilot steals closed source code?

I am pretty sure the answer is "no" or we'd hear about it, but wanted to double-check. Does Github Copilot even send any local code to the backend? Ideally, I'd want an AI autocompletion tool to share proprietary code within an organization, and…
Irina Rapoport
  • 1,404
  • 1
  • 20
  • 37
7
votes
1 answer

GitHub command 'github.copilot.generate' not found

I have installed GitHub Copilot I have got an access to use it too but when I try CTRL + Enter I get this error message: command 'github.copilot.generate' not found I tried uninstalling and reinstalling, but still no change. Edit: I discovered that…
norbekoff
  • 1,719
  • 1
  • 10
  • 21
6
votes
0 answers

How to accept only the next word in PyCharm 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. This is possible with VS Code as documented here. Is there a way to do this in PyCharm too?
Corram
  • 233
  • 1
  • 3
  • 13
6
votes
2 answers

Is there a way to disable automatic inline suggestions from GitHub Copilot in Visual Studio?

Is it possible to not have GitHub Copilot automatically suggest code, instead only showing its suggestions when using the "trigger inline suggestion" shortcut? I saw there is a setting github.copilot.inlineSuggest.enable in Visual Studio Code for…
Patrick
  • 679
  • 1
  • 9
  • 20
6
votes
3 answers

How to do regular 'tab' without triggering CoPilot in vscode?

When using CoPilot with vscode, by default, it uses tab to accept CoPilot's suggestion. But sometimes I want to genuinely make a tab at a point in the code where CoPilot has other ideas. How can I make a tab in that position without triggering…
stevec
  • 41,291
  • 27
  • 223
  • 311
6
votes
3 answers

Accept line by line from autocompletion

I'm using GitHub—Copilot in a VS-Code environment. Given the autocompletion feature, I want to have the possibility to only accept line by line. For example: The autocomplete shows five lines on TAB, but I just need the first two of them. Is there a…
5
votes
1 answer

How to invoke Github Copilot programmatically?

I am currently exploring GitHub Copilot, and I am interested in using it programmatically, i.e., invoking it from code. As I understand, GitHub Copilot is an IDE plugin, which makes me wonder how it can be automated or controlled programmatically.…
Exploring
  • 2,493
  • 11
  • 56
  • 97
5
votes
1 answer

Accept Github Copilot inline suggestion with right arrow key instead of tab in VSCode

As mentioned, how can I accept the Github Copilot inline suggestion with the right arrow key instead of the tab key in VSCode?
GorvGoyl
  • 42,508
  • 29
  • 229
  • 225
5
votes
0 answers

Co-pilot doesnt work proberly on Visual Studio 2022 'ReturnKeyCommandArgs'?

Im having an issue with my co-pilot installation on Visual Studio 2022, im running the stable community version, and im running it with extensions, of course. However, i HAVE tried disabling AND uninstalling all my extensions, and it will still not…
Zebratic
  • 51
  • 3
5
votes
2 answers

Can you make GitHub Copilot opt-in on a per-project basis?

I'm using the VS Code GitHub Copilot extension. Sometimes I edit files that contain secrets, and I don't want to accidentally send those to Microsoft/GitHub. Is it possible to make Copilot opt-in, so that it is only enabled if I have explicitly…
Jo Liss
  • 30,333
  • 19
  • 121
  • 170
4
votes
0 answers

Copilot suggests only line by line

Copilot suggests only line by line instead of a whole block. I've seen issues a year ago which were actually a copilot bug but I can't find any hints for the current version. Is there a setting to enable it or do I have to switch anything off in VS…
dafna
  • 893
  • 2
  • 10
  • 21
4
votes
3 answers

VSCode not showing Github CoPilot shortcuts and prev/next options

I recently installed Github CoPilot extension in my VSCode editor (v1.76.1) on Ubuntu 20.04. I am able to trigger inline suggestions using Alt + \, but I am unable to use Alt + [ or Alt + ] shortcuts to navigate between suggestions. Additionally,…
dnrandom
  • 71
  • 3
4
votes
5 answers

IntelliJ IDEA and Github Copilot: not working due to self signed certificate

it is really frustrating. Since the demo-end-day I'm not able to get Copilot running again. The login issues seems to be gone, but now I dont get any suggestions. I've found this log: WARN - #copilot - [ERROR] [default] [2022-09-08T09:15:19.606Z]…
Pirax
  • 117
  • 1
  • 10
4
votes
0 answers

Unable to use GitHub Copilot on WebStorm (JetBrains) when behind corporate proxy

I'm behind a corporate proxy and unable to use GitHub Copilot on WebStorm. This is the error that I'm getting: GitHub Copilot is working on VsCode after using the monkey patch solution given in self signed certificate in certificate chain on github…
thewebtud
  • 455
  • 2
  • 4
  • 21
4
votes
1 answer

Github Copilot not working. Console "Output" window is empty

I have searched across Github issues and stack overflow, and whenever someone fails to get copilot to work (not suggesting anything) everyone tells you to update vscode, the extension, and open View > Output. Well I have both vscode and copilot…
Bar Akiva
  • 1,089
  • 1
  • 11
  • 23
1 2
3
13 14