Announcing GitHub Copilot Labs #8308
Replies: 36 comments 58 replies
-
I mean, it's not wrong. Ok, ok, that's cheating. But for fun I put some of my galaxy-brain AI generated code examples pre-Cortex to see what happens. tbh, better than expected. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
When is the stable version containing explain coming out? |
Beta Was this translation helpful? Give feedback.
-
Amazing! Do you think the JetBrains release of new features will lag behind the VS Code release? (that makes sense to me) Maybe around a month or so? |
Beta Was this translation helpful? Give feedback.
-
Tested this out earlier today and it was impressive. A suggestion for a future enhancement: Adding function headers output, i.e. like in JavaScript would be amazing. I work on a function and then "Ask Copilot" for the headers. |
Beta Was this translation helpful? Give feedback.
-
This looks awesome! What is the typical wait like at present to join the beta? |
Beta Was this translation helpful? Give feedback.
-
Are there plans for an API? |
Beta Was this translation helpful? Give feedback.
-
Will people who are in problems as in #7716 Or related will be able to use this even without copilot? |
Beta Was this translation helpful? Give feedback.
-
This seems to go further in providing unrestricted access to the underlying Codex API. Has there been any thoughts about the potential for abuse, for example non-code prompts like the generation of propaganda and fabricated news? On OpenAI's use case guidelines it disallows serving open-ended inputs, and my understanding was that this is for all of the APIs including Codex? Are there any filters for this feature? |
Beta Was this translation helpful? Give feedback.
-
Tried a few things. Not really helpful so far since it's hardcoded to cut off after one line!? |
Beta Was this translation helpful? Give feedback.
-
Neat! Love that you allow making prompts - hopefully soon it will be possible to design and save prompts and call them with special commands and keybindings. Specialized prompts for generating docstrings, normalizing code conventions, adding type annotations, ... so many possibilities. Regarding code explanation, you can take a look at a post I made on Codex line-by-line explanation that works fantastically: https://community.openai.com/t/best-line-by-line-code-explanation-prompt-i-found-so-far/12272/6 EDIT: Just tried it, and it looks like it doesn't work for all languages? I tried it on a shell script and it does not react to when I highlight code. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Took me like 15 minutes to figure out how to open the Labs sidebar. Would be nice if there was better explanation. |
Beta Was this translation helpful? Give feedback.
-
Seems to only go to a certain length of explanation. So if it's a larger snippet, it will often end prematurely before explaining everything. |
Beta Was this translation helpful? Give feedback.
-
regex to explain: The explanation of the above regex says it matches the word against "hello" (which it does not) PS: Tried to replicate, but couldn't. |
Beta Was this translation helpful? Give feedback.
-
This is cool! Waiting for vim support ;-; |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@irealva |
Beta Was this translation helpful? Give feedback.
-
I let Copilot write some code. 🤷 |
Beta Was this translation helpful? Give feedback.
-
Will it be available in JetBrains tools? |
Beta Was this translation helpful? Give feedback.
-
When should we expect test generation for python? |
Beta Was this translation helpful? Give feedback.
-
I can't seem to run the tests generated. It returns "missing module" error |
Beta Was this translation helpful? Give feedback.
-
Still no update about this on IntelliJ / Jetbrains ? |
Beta Was this translation helpful? Give feedback.
-
please support other editors 🙏 |
Beta Was this translation helpful? Give feedback.
-
Could anybody please explain what |
Beta Was this translation helpful? Give feedback.
-
Why are you choosing to leave out a good portion of developers that use jetbrains IDEs? Is the reason technical or... |
Beta Was this translation helpful? Give feedback.
-
Please allow access to the tools offered by Github copilot labs outside of vs code, For example via api, terminal, other editors. Otherwise rename it for clarity to VS code labs |
Beta Was this translation helpful? Give feedback.
-
Does GitHub Copilot Labs honor the same privacy setting "Allow GitHub to use my code snippets for product improvements" as the main product? |
Beta Was this translation helpful? Give feedback.
-
I would like to try this with github copilot labs within visual studio enterprise.. is there a timeline for this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
You may have noticed some cool new functionality in recent nightlies of GitHub Copilot for Visual Studio Code! We’ve added the Labs sidebar, a home for experiments we’re building with the same technologies that power GitHub Copilot.
The first application is Explain. Select some code, and ask GitHub Copilot to explain that code to you in plain language:
Create custom prompts
We provide a few preset prompts to get you started: three that explain what a particular block of code does, and another that generates example code for calling a function.
You can customize the prompt and stop sequence of a query in order to come up with new applications that use Codex to interpret code. Creating these can feel like more of an art than a science! Small changes in the formulation of the prompt and stop sequence can produce very different results. The three different “explain” examples showcase strategies that tend to produce useful responses from the model, but this is uncharted territory! We’re excited to see what you use this for.
These articles on prompt design and stop sequences are a great place to start if you want to craft your own presets.
Please share feedback on GitHub Copilot Labs! Have you found a prompt and stop sequence combination that works well, or did you generate something particularly helpful? Let us know so we improve the sidebar, and implement more useful presets and features over time.
— GitHub Next
Beta Was this translation helpful? Give feedback.
All reactions