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
41
votes
3 answers

How can I use Github Copilot in Android Studio?

Is it possible to use the new Copilot plugin from GitHub in Android Studio? I see they advertise it for Visual Code, but I am working in Android Studio and I would like to test it. GitHub…
beatrice zmau
  • 413
  • 1
  • 4
  • 5
41
votes
9 answers

self signed certificate in certificate chain on github copilot

I installed the GitHub copilot but the extension do not work, always show the following error : What could I do to solve this ?
Mateus
  • 435
  • 1
  • 3
  • 6
37
votes
4 answers

Can GitHub Copilot stop auto-suggesting, instead be triggered by a keystroke?

I find Github Copilot very helpful in some specific situations, but fairly unhelpful in its verbosity in most situations. By default, it's always on, always suggesting (and frequently getting in my way.) I want it to be less aggressive, disabling…
32
votes
3 answers

GitHub Copilot - please login to github and try again

For Intellij plugin, GitHub Copilot shows error please login to github and try again. I have already done the following: Authenticated GitHub Copilot with my GitHub user and password. Allowed GitHub Copilot in GitHub account profile. Restarted the…
Exploring
  • 2,493
  • 11
  • 56
  • 97
32
votes
4 answers

Can I use github-copilot strait on jupyter-lab/notebook?

I do a lot of stuff over a remote jupyter server. I've been using vscode to run notebooks on those servers because it was the easiest way I could find to develop while using copilot, but it's become rather cumbersome and was hoping for a simpler…
aaportel
  • 471
  • 1
  • 3
  • 6
28
votes
6 answers

How to use "Next/Previous" suggestion shortcuts for Github Copilot on a Mac?

I am trying to use GitHub Copilot on my Mac with Pycharm. Tab works great but I can't cycle through the previous and next code suggestion. Documentation says I should use: Option+] Option+[ but if I do, I only get brackets in my code. I should…
yoKurt
  • 327
  • 1
  • 3
  • 8
25
votes
5 answers

Please upgrade your Copilot extension to continue using this service

Today I tried to use the copilot, but suddenly this error start appearing: [INFO] [fetch] [2022-05-19T21:00:55.452Z] Please upgrade your Copilot extension to continue using this service. I tried to uninstall and install again and reload, but…
25
votes
8 answers

why is my github copilot not working all of a sudden?

I have been using copilot for a while now, and one fine day on opening VSCode this error appeared. "[ERROR] [default] [2022-04-09T08:38:10.995Z] GitHub Copilot could not connect to server. Extension activation failed: "certificate has expired" I…
Arnish B
  • 251
  • 1
  • 3
  • 3
24
votes
15 answers

GitHub Copilot Commands not working and showing error

I have installed GitHub Copilot just for the sake of testing. However, none of the commands work. For example if I try CTRL + Enter I get this error message: command 'github.copilot.generate' not found I am trying it with JS file. I have latest…
harunB10
  • 4,823
  • 15
  • 63
  • 107
21
votes
1 answer

GitHub Copilot and Privacy - Does GitHub Copilot save locally developed code?

Does GitHub Copilot save locally developed code? For example, if I develop code locally and in my code, there are connection parameters, like user and pass, for calls to remote services, do it save them as an example? Providing them as a suggestion…
whonkg985
  • 223
  • 1
  • 5
21
votes
3 answers

Is there any way to disable GitHub Copilot comment suggestions?

I really like Copilot however its comment suggestions can be nonsensical and really distracting. Is there any way to leave the code suggestions on but turn Copilot off whenever I'm editing/adding a comment amidst the code?
Gustavo Maximo
  • 4,426
  • 3
  • 17
  • 26
18
votes
3 answers

GitHub copilot autocomplete one line only shortcut key

Is there a shortcut key to complete the first line only? here I wanted to autocomplete only the line line-height: 1.2;, but if I press the tab it will insert the whole suggested code including a new class below. Since this happens a lot, is there a…
Abraham
  • 12,140
  • 4
  • 56
  • 92
16
votes
3 answers

Can Github Copilot look at the context of a project with multiple files?

Or it only analyzes and autocompletes using the context of standalone files regardless of additional files in my project?
Ocean Overflow
  • 339
  • 2
  • 14
16
votes
1 answer

Get github copilot suggestions only when requested

Is there any GH Copilot configuration setting for getting suggestions only when I request them? Like a shortcut or something like that... I haven't found any similar in it's documentation
16
votes
2 answers

VSCode only shows one line of Github Copilot suggestion

I've activated github copilot and it works fine but, while typing it only shows one line of suggestion. After all of my tryings, It still shows one line of suggestion. But I want to see multi-line suggestions. Even the all solutions tab show one…
Samil Kahraman
  • 432
  • 6
  • 13
1
2 3
13 14