@Inna Sits Thanks for the feedback. I'm in no way a copilot poweruser. This was literally the first time trying it. And maybe it's a symptom of how I gave it prompts. But I'm still surprised it couldn't provide a search algorithm for me.
@grzegorzzalewski71872 жыл бұрын
Hi, John, Try not to use comments to chat with copilot but to explain what method you plan to wrote together with copilot. e.g., instead of “define function sort” type “bubble sort an array”
@cody_codes_youtube3 жыл бұрын
Tim Pope! Wow this is a wild demo! I think there is a lot of promise. I really like how you edited your video with the screencast in the back, by the way. I gotta try that out when I get to live coding.
@JohnCodes3 жыл бұрын
tpope is such a legend! And thanks! it's been fun experimenting with different formats
@michaelcarnevale56203 жыл бұрын
hey man i rly like ur visual setup.. what app are you using to set yourself against the background like that?
@JohnCodes3 жыл бұрын
I'm using OBS with a greenscreen :D
@michaelcarnevale56203 жыл бұрын
@@JohnCodes cool man thnx!
@iljavs3 жыл бұрын
not sure how the sort borked for you. I got it to do a quicksort right away. 2 trivial comments and some tabs.
@JohnCodes3 жыл бұрын
Yeah I've seen tons of other examples online of it doing simple algorithms. Were you using Go? I know the go support is a bit hit or miss these days.
@marquesbot3 жыл бұрын
@@JohnCodes For me it worked normally, one thing I'm using is more specific comments and no double meaning parts about wanting and leaving main as the last thing too (In GoLang)
@xazak357r43 жыл бұрын
tpope is a hero
@JohnCodes3 жыл бұрын
absolute legend
@theblowupdollsmusic2 жыл бұрын
How is it supposed to know what to do when you don't even know what you want. Very clear prompting, detailed commenting, and main header comments are necessary from my research. I would love to see you make another attempt after some research on best practices.
@AyushMandowara_xx73 жыл бұрын
thanks for sharing! got my nvim setup done!
@JohnCodes3 жыл бұрын
Nice!! Glad it helped!
@trancongminh26288 ай бұрын
can u share me a way setup for nvim?
@Egor-u6m3 жыл бұрын
Hi! Which extension do you use for tiling?
@JohnCodes3 жыл бұрын
Tmux! I also use a framework called oh-my-tmux
@Egor-u6m3 жыл бұрын
I meant gnome extension. New terminal window opens on half on the monitor
@Fluffynix3 жыл бұрын
@@Egor-u6m He might be using a tiling WM.
@CarlosMafla2 жыл бұрын
I really need to switch to NeoVIM to try this!
@محمدصالحعلیاکبری3 жыл бұрын
Does it work in version 0.5.1 on vim? How to install version 0.6 on Linux?
@JohnCodes3 жыл бұрын
You'll need a nightly build of neo-vim. You can get instructions to getting the latest version of that here: github.com/neovim/neovim/wiki/Installing-Neovim
Жыл бұрын
Trying to chat with it will not give you good results. Here are some better ways of using it: * Start writing the code and let it finish. (Instead of “// define function sort”, write “func sort(“) * Write docs and let it write the corresponding code for you. Or write code and let it write the docs for you.
@RadCirskis2 жыл бұрын
yey! the developers like myself and yourselves will be soon completely replaceable, dispensable, and disposable! O brave new world, you rule!
@MulleDK193 жыл бұрын
Don't worry, it's amazing; you're just really bad at using it.
@JohnCodes3 жыл бұрын
😂😂😂 i don't deny it; maybe the GitHub team will watch this and improve the user experience for the plugin. I was coming in pretty green for how to use it
@MulleDK193 жыл бұрын
@@JohnCodes You're trying to use it as a sentient Skynet capable of curing cancer. Don't attempt to have it write entire programs without guidance; it won't do that. It's an assistant, not a replacement. Context is important. If you have nothing but an empty main() it has no context, and won't be of much use. It also knows the current language, and which file you're in. So simply naming the file main.go also doesn't give it much to go on, thus you need more context in the file itself. Also, be more specific. Don't just say "Implement sorting algorithm". Give it enough context to know what it's supposed to do. (
@MulleDK193 жыл бұрын
Furthermore, at 9:46, the reason it's just printing a comment to implement it, is because that's what you've taught it. You have code above with very little implementation. For example, you have a "print the array", and then don't print the array. And then you have a "define sort function", and it picks up on the fact that you're just writing comments that tell people to do stuff, and then there's nothing there. So it continues like that. It will also pick up on coding style, etc.