DEV Community

Cover image for A Beginner's Guide to Prompt Engineering with GitHub Copilot

A Beginner's Guide to Prompt Engineering with GitHub Copilot

Rizèl Scarlett on April 03, 2023

When I started using GitHub Copilot and other generative AI tools, I felt frustrated because I wasn't receiving the expected results. How were peop...
Collapse
 
sip profile image
Dom Sipowicz

Would you mind pointing me to the source of this: "However, it can read your current file and any files that are opened in your IDE." This makes perfect sense, but I would like to know more details or limitations, like what if I open 20 files each with 1000 lines of code.

Collapse
 
eyarz profile image
Eyar Zilberman

I was wondering about this also, but I found this reference:
github.blog/2023-05-17-how-github-...

Neighboring tabs is what we call the technique that allows GitHub Copilot to process all of the files open in a developer’s IDE instead of just the single one the developer is working on.

Collapse
 
sip profile image
Dom Sipowicz

great find!

Thread Thread
 
blackgirlbytes profile image
Rizèl Scarlett

Thanks @eyarz. The source of it was just from me working at GitHub, but continue to check out the GitHub blog for more posts around how Copilot works.

Here's an interesting one called Working with the LLMs behind GitHub Copilot -- github.blog/2023-05-17-inside-gith...

Collapse
 
mungojam profile image
Mark Adamson

Useful tips, thank you, I'm eagerly awaiting the inline chat feature which will make it even easier to work like this.

Are you planning on bringing the Copilot X features to JetBrains IDEs too?

Collapse
 
ctechdiva profile image
Cheryl A

This is a great article. I will definitely be sharing with others.

Collapse
 
blackgirlbytes profile image
Rizèl Scarlett

Thanks! Please do!

Collapse
 
lyavale95 profile image
LyAVALE95

Amazing article, thank you

Collapse
 
blackgirlbytes profile image
Rizèl Scarlett

Thank you!

Collapse
 
shreyo profile image
Shrey

Thank you so much for such an amazing article!

Collapse
 
vaibhavk289 profile image
Vaibhav Kumar Kandhway

It was a fantastic guide but i think it needs a renewed version as github copilot has jumped into the territory of agentic ai.

Collapse
 
blackgirlbytes profile image
Rizèl Scarlett

totally this was from 2023, and I no longer work at GitHub, so I've shifted to writing about agentic AI, but about other agentic tools

Collapse
 
s_pavan_28 profile image
S Pavan

Nice tutorial. Came through Accenture courses and completed.