코딩속도 200%? 코파일럿 제대로 활용하는 꿀팁!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
most developers use GitHub copilot for the code suggestion and while those are great not using the other features copilot has is a waste of money because the truth is that GitHub copilot can do so much more than inline suggestions it can chat with you write commit messages explain errors in the console write documentation help you configure your vs code and more you can even use it with your voice and feel like Tony Stark talking to Jarvis and that is what today I want to show you some of the less known but super useful GitHub copilot features to make you even more productive even get you your money's worth the main feature of GitHub copilot are the inline code suggestions which is where we will start we know that all we have to do is start writing code and when we get a suggestion we can accept it by pressing the Tab Key but what many don't know is that sometimes GitHub copilot can return alternative suggestions and we can switch between multiple options by using keyboard shortcuts so the next time you get a suggestion instead of accepting the first one you get you can press alt plus right square bracket or alt plus left square bracket to see the next or previous suggestion and then press tab to accept if you are in Mac OS it will be option plus right square bracket or option plus left square bracket if you want to see multiple suggestions in one tab press contrl enter and then click accept solution above the suggestion you want to accept sometimes when a suggestion is partly complete and you don't want to accept the whole thing you can press control plus right arrow or command plus right arrow in Mac OS to only accept the next word of the suggestion the next best thing about GitHub copilot is the GitHub copilot chat for this to work make sure that apart from the GitHub copilot extension you also have the GitHub copilot chat extension you can use copilot chat in three different ways chat view inline chat and quick chat to open the chat view click on the icon in the activity bar which will show you a chat window with an input box to type a question and chat with copilot to make the chat view experience more powerful you can use agent copilot chat has three agents you can use workspace terminal and vs code to mention an agent write the ad symbol in the input box the workspace agent has knowledge about the code in your workspace so you can ask it questions about your files and their content and it will help you find the relevant files functions or classes the terminal agent has knowledge about the terminal so it can help you when you need to run a command but you don't know what the flags are or what the correct syntax is you can send a suggestion from the terminal agent to the console directly by hovering over the suggestion and clicking the terminal icon the vs code agent notes about the commands and featur of vs code itself so if you need to change a setting in your VSS code but you don't know where to find it or how it is called this agent can tell you where it is and how to configure it apart from Agents you can also use commands for example to know what some code is doing without the need to copy paste select a piece of code and then run the/ explain command to get an explanation of what the code is doing to open the chat view in quick chat mode press control shift or command shift in Mac OS to open a window where you can still use agents and commands both in a popup rather than in the sidebar to run commands directly within your code use inline chat inline chat opens a tiny chat window on top of the code you are working on to open it press control or command I in the inline chat you can ask general questions to copilot you can ask it to generate code and once it does you can accept or discard the suggestions and if you open inline view with selected code you can use commands like slash explain that we saw before or SL do fix and tests the SL do command can help you write the documentation of a function the/ fix command can help you fix a problem in a function with errors and my favorite one the/ test command write unit tests for your code which I love because tests are important but incredibly boring writing a commit message that describes well the changes made to the code is important but many of us are not good at it so if you're like me next time you go write a commit message click on the Sparkles at the right of the message box copilot will take a look at your files and will actually write fairly good and pretty specific commit message on the changes that were made to get the Tony Stark experience first you need to install the vs code speech extension that adds text to speech capabilities to GitHub copilot chat then you need to configure what you want to happen when you activate GitHub copilot with your voice for this open your settings. Json file and set the accessibility. voice. keyword activation setting to what kind of chat window you want to open with your voice after saving all you have to do is say the word hey code and it will open a chat window where you can speak to co-pilot and next time you get an error in the terminal before copy pasting the error in Google or Chad GB click on the Sparkles icon that shows up next to the command that caused the error and you will get an explanation of what went wrong and suggestions on how to fix it that's it for this video if you found it useful please like it share it with your friends and subscribe to the channel as you can see more than replacing us AI is making us infinitely more productive but more than using AI what is cooler is knowing how it's made because it is in Magic and anyone can learn how to build AI applications what is even better than that is learning for free and that is why year dream school is sponsoring this video the ministry of smmes and Korea smmes are recruiting 200 people to join a free AI education program called year dream school year dream School runs for 10 months teaches from the very basics of AI to the advanced level of data science and data engineering the program will be divided in two tracks for data science and data engineering with job specific specialization courses there will be startup partnership projects kagle competitions and also networking events with alumni in addition there will be graduate only Career Fairs and for those who want to do their own startup there will be a separate track for entrepreneurship where the school will provide mentorship with i a pitching all of these 10 months of Education are completely free anyone under 39 who is eager to learn AI can apply regardless of his or her education level or previous career background the school will recruit a total of 200 students 100 each for online and offline programs it is one of the shortest Pathways for non- Majors to become AI developers we did a promotion for year dream School in 20122 this is their fourth year running the program the school continues to grow and improve each year it now boasts of hundreds of graduates and Al applications are open right now so please check out the link below thank you for watching as always see you on the next one bye-bye
Info
Channel: 노마드 코더 Nomad Coders
Views: 49,352
Rating: undefined out of 5
Keywords: 코딩, 프로그래밍
Id: xx7Ykh0VpF0
Channel Id: undefined
Length: 6min 39sec (399 seconds)
Published: Sun Feb 18 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.