3 ms·
Just type your code in the editor. And it offers auto complete suggestions. Sometimes it will complete the entire function based on the function name or a comme
by nicky0 4y ago
Just type your code in the editor. And it offers auto complete suggestions. Sometimes it will complete the entire function based on the function name or a comment. Sometimes it'll just guess the function you want to write, without you typing anything at all. (Turns out a lot of code is rather predictable).
By experience though it’s best to go line by line rather than accepting whole function autcompletes.
For me, I found incredibly useful for generating test cases. It will type out test functions for various conditions, stuff that is normal really tedious to code.
Sometimes is eerie, how how well it knows exactly what next line should be. Countless times it filled in an important detail that I hadn’t thought of.
It’s not perfect at all, sometimes it goes off on tangents or writes incorrect code.
I don’t think you even have to pay for copilot. At least it’s free for me.
- arlcode 4y agoThey have a limited trial or company memberships afaik. It costs 10$/month 100$/year for individual users.
- nicky0 4y ago~~That's weird because I don't pay anything.~~ EDIT: GitHub Copilot is free to use for verified students, teachers, and maintainers of popular open source projects
- toastal 4y agoThe Adobe model of letting students and schools train on it and then demand employers buy the subscription when the graduate.