Real World Experience: Github Copilot Edits

Will AI replace developers? Maybe. But for now, it augments developer productivity.

For example, in our React Native codebase we were replacing occurrences of fontSize, fontWeight, and lineHeight with something from a pre-defined object, like textStyl…


This content originally appeared on DEV Community and was authored by Lem Dulfo

Will AI replace developers? Maybe. But for now, it augments developer productivity.

For example, in our React Native codebase we were replacing occurrences of fontSize, fontWeight, and lineHeight with something from a pre-defined object, like textStyle.title, which contains all 3 attributes.

a git diff showing Github Copilot Edits at work

It was repetitive, so why not ask GitHub Copilot Edits to do it for us?

Here's how it works: you write the instructions in .github/copilot-instructions.md, then you "chat" with Copilot to do the thing. Simple.

Could it be done without the use of AI? Of course! We could have spent some time writing a script. The catch: you'll have to capture your thoughts as code.
(Okay, let's ignore the fact that I just described what a programmer is literally paid to do... 😅)

With AI, you write your thoughts down as natural language, and watch the magic happen.

Don't sleep on it, here's the documentation: https://code.visualstudio.com/docs/copilot/copilot-edits


This content originally appeared on DEV Community and was authored by Lem Dulfo


Print Share Comment Cite Upload Translate Updates
APA

Lem Dulfo | Sciencx (2025-02-11T21:42:17+00:00) Real World Experience: Github Copilot Edits. Retrieved from https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/

MLA
" » Real World Experience: Github Copilot Edits." Lem Dulfo | Sciencx - Tuesday February 11, 2025, https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/
HARVARD
Lem Dulfo | Sciencx Tuesday February 11, 2025 » Real World Experience: Github Copilot Edits., viewed ,<https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/>
VANCOUVER
Lem Dulfo | Sciencx - » Real World Experience: Github Copilot Edits. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/
CHICAGO
" » Real World Experience: Github Copilot Edits." Lem Dulfo | Sciencx - Accessed . https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/
IEEE
" » Real World Experience: Github Copilot Edits." Lem Dulfo | Sciencx [Online]. Available: https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/. [Accessed: ]
rf:citation
» Real World Experience: Github Copilot Edits | Lem Dulfo | Sciencx | https://www.scien.cx/2025/02/11/real-world-experience-github-copilot-edits/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.