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

Copilot's inline suggestion suppresses quick suggestion widget in Visual Studio 2022

In Visual Studio 2022, when GitHub Copilot suggests an inline hint, the quick suggestion widget will be suppressed, as shown in the following gif. This annoys me a lot since sometimes I need to browse the suggestion widget to view code…
4
votes
3 answers

Visual studio writes 4 characters for each pressed key in cshtml files

I'm working with a .cshtml file in visual studio, the first seconds after I open the file everything seems normal, but after I write some letters Visual Studio starts writing 4 characters for each pressed key... I'm working with Visual Studio 2022…
4
votes
1 answer

Get github copilot recommendations with vscode in a jupyter notebook

I am trying to use github copilot in a jupyter notebook in vscode. It is working great so far, but the short cut to get 10 more recommendation which is "Ctrl + Enter" is already taken in jupyter notebooks to execute the current cell. Is there a…
Maximilian Jesch
  • 623
  • 7
  • 16
4
votes
3 answers

How to fine tune fine tune GitHub Copilot?

We can fine tune language models like BERT, GPT-3. Can I fine tune GitHub Copilot model? I have already looked into examples from https://copilot.github.com/ but cant find the details. Would really appreciate if someone had fine tuned Github…
Exploring
  • 2,493
  • 11
  • 56
  • 97
4
votes
2 answers

How to accept the code the suggested by vs code

Actually I have started to write a for loop, My VS Code AI or GitHub Copilot I don't know what it is but completed my code, but I don't know how to accept the code when I press enter or space the code disappears is there any shortcut to print the…
CHANDRU R
  • 73
  • 1
  • 7
3
votes
2 answers

Android Studio: Exception in plugin GitHub Copiolot (1.2.13.2776)

Trying to install and run the GitHub Copilot plugin in Android Studio. I get the following error: java.lang.NoSuchMethodError: 'com.intellij.ui.dsl.builder.Row com.intellij.ui.dsl.builder.Panel.row$default(com.intellij.ui.dsl.builder.Panel,…
AndroidDev
  • 20,466
  • 42
  • 148
  • 239
3
votes
0 answers

Change the key mapping of Github Copilot autocomplete in Visual Studio

Is there any way to change the mapping for Copilot autocomplete in Visual Studio 2022? I don't see it in the standard Copilot mapping options. Intellicode autocomplete and CoPilot are at odds and I'd rather not lose either if I can help it. I…
John
  • 41
  • 6
3
votes
0 answers

How to change the default keybind for accepting IntelliSense / Copilot suggestion in VS 2022

I have installed VS 2022 and Github Copilot. When there is a code recomandation, it suggests to press TAB to accept the suggestion, but I want to assign another key for this and leave the TAB for inserings actual TABs in the code. I have tried to…
Gabriel Ciubotaru
  • 1,042
  • 9
  • 22
3
votes
0 answers

How to use or integrate github copilot in monaco-editor

Please someone explain me how to integrate github copliot and Monaco-Editor Someone please explain how to solve this and share code snippets.
3
votes
0 answers

Co-pilot suddenly missing and not working in VSCode

I have been using Github Copilot successfuly in VSCode for python scripts and within jupyter notebooks for the past week until today when it stopped working. The "activate icon" no longer appears in the bottom right hand corner, in-line suggestions…
3
votes
0 answers

Copilot stopped working on vscode after trying multiple fixes

Randomly my copilot has stopped working (I still have time left on my free trial). The problem seems to be that no matter what I do I cannot get the pop up to authorise copilot to appear when installing the extension again. Does anyone have any idea…
RubenNeves
  • 39
  • 3
3
votes
0 answers

Github Copilot stopped working after my credit card expired, even after changing the credit card to new one

************ This is fixed now. Please check the updates to see how ************ Initially Github Copilot was running perfectly with both my IDEs - VS Code and PyCharm. Then my credit card expired and it stopped working. I didn't realise the reason…
3
votes
1 answer

Copilot for Visual Studio for Mac m1

I am trying to install GitHub Copilot in Visual Studio for Mac as an extension. However, there is no option "Manage Extensions" in VS for Mac as shown here. Is it possible to add it somehow?
null_user
  • 53
  • 1
  • 5
3
votes
2 answers

Github Copilot won't retrieve suggestions on Pycharm

Recently installed the latest copilot version (currently 1.1.28.1744) and the latest pycharm (currently 2022.2) and I can't get copilot to work on it. The login and permission part goes through without any problems. Once installed it is always…
Pedro Braz
  • 2,261
  • 3
  • 25
  • 48
2
votes
1 answer

How to use GitHub Copilot for multiple files?

I am looking to explore GitHub Copilot. I don't have in-depth coding experience and I graduated just a few months ago. I was planning to build a small website to explore what GitHub copilot has to offer. When I added comments for the copilot to…
Ishan2077
  • 79
  • 7