WEBVTT

00:00.360 --> 00:01.040
Hi everyone.

00:01.040 --> 00:01.720
Welcome back.

00:01.720 --> 00:07.640
In this lecture I'm going to show you how to set up a coding assistant which is GitHub copilot.

00:07.680 --> 00:12.760
Let me take a step back and explain about the need for the copilot assistant.

00:12.760 --> 00:19.080
In today's fast moving software industry, developers are juggling between multiple frameworks, tools,

00:19.080 --> 00:20.880
and coding standards.

00:21.160 --> 00:24.320
Writing high quality code has become essential.

00:24.320 --> 00:27.720
That's where GitHub Copilot can make a huge difference.

00:27.720 --> 00:33.920
So if you go to the Chrome and then search for GitHub Copilot, it will give you this page your AI pair

00:33.960 --> 00:34.440
programmer.

00:34.440 --> 00:40.560
If you open this page, it talks about the features and it talks about what is this particular tool.

00:40.760 --> 00:41.000
Right.

00:41.040 --> 00:43.560
So it's an AI that builds with you.

00:44.080 --> 00:46.960
So basically you give it a prompt over here.

00:46.960 --> 00:48.840
It's going to look at your source code.

00:48.880 --> 00:50.880
It's going to edit the files for you.

00:50.880 --> 00:58.920
And as a developer you have the complete control to either accept the changes or discard the changes.

00:59.310 --> 01:04.630
So in this course I have updated some of the lectures using the copilot assistant.

01:04.630 --> 01:10.910
Basically the idea is I will be coding the features by hand, and also I'll show you some lectures where

01:11.350 --> 01:16.190
we can have the AI coding assistant write the code for you based on what we need.

01:16.550 --> 01:22.830
And then I'll also show you the workflow of how to accept the changes, how to discard the changes,

01:22.990 --> 01:30.030
how to make the changes done by the copilot automatically in your code base without you hand code each

01:30.030 --> 01:30.830
and every line.

01:31.030 --> 01:37.310
It's your AI powered coding assistant that understands your intent, suggests complete lines or entire

01:37.310 --> 01:44.190
functions or multiple source code files, and explore, which is going to help you explore unfamiliar

01:44.230 --> 01:45.750
APIs in seconds.

01:45.990 --> 01:52.550
With Copilot, you spend less time on repetitive code and more time focusing on creativity, problem

01:52.550 --> 01:54.750
solving, and building great products.

01:54.750 --> 01:56.110
So how do you get started actually?

01:56.110 --> 01:59.060
So if you go ahead and take a look at the see plans and pricing.

01:59.060 --> 02:03.340
I have this configured already, but I'll walk you through these steps one by one.

02:03.340 --> 02:05.180
So in this case you have the free tier.

02:05.220 --> 02:06.020
That's what I have.

02:06.020 --> 02:07.860
You can actually click on Get Started.

02:07.860 --> 02:10.500
And this gives you access to multiple models out of the box.

02:10.500 --> 02:17.300
So here you have GPT for one GPT for I have actually configured my OpenAI API key.

02:17.420 --> 02:19.580
That's why I see this additional models.

02:19.780 --> 02:22.260
But in your case you might be seeing limited models.

02:22.260 --> 02:24.900
You can actually use it to interact with.

02:24.940 --> 02:25.180
Okay.

02:25.220 --> 02:29.660
Let's say if you want to ask a question, you can ask it in this particular web page itself.

02:29.660 --> 02:31.740
But this is not what we want, right?

02:31.780 --> 02:36.260
So we want this assistant to be right in the IntelliJ itself.

02:36.580 --> 02:39.340
That's where you're going to be seeing the benefit.

02:39.380 --> 02:39.620
Right.

02:39.620 --> 02:42.860
Let's go back to IntelliJ and then install this plugin.

02:43.460 --> 02:45.780
So if we go to the IntelliJ click on the.

02:46.020 --> 02:50.660
So in here if you go to the plugins and then you got to search for that GitHub copilot.

02:50.700 --> 02:51.740
If you search for it.

02:52.220 --> 02:56.140
As you can see the number of downloads is 31.8 million downloads.

02:56.580 --> 02:57.100
Okay.

02:57.220 --> 03:01.060
And then you can actually install it since you have already installed it.

03:01.060 --> 03:04.340
I don't have that option, but you'll be seeing an install option.

03:04.340 --> 03:05.860
Click on the install over here.

03:06.140 --> 03:10.180
And then once installation is complete you need to restart the IntelliJ.

03:10.220 --> 03:12.860
So once the plugin is installed what we need to do.

03:12.900 --> 03:20.740
So if you go to the windows over here or the tools you will see an option called GitHub Copilot okay.

03:20.780 --> 03:25.460
And you have the option called open Chat and all other different options okay.

03:25.500 --> 03:27.300
You can actually click on the open chat.

03:27.420 --> 03:32.540
If you are opening it for the very first time, it will ask you to configure or connect your GitHub

03:32.540 --> 03:38.220
account with the plugin so that it can track your usage, how many completions you have.

03:38.260 --> 03:43.180
Because there is a limitation on how many chat completions you can do when you're using a free tier.

03:43.580 --> 03:46.020
So if you go back, I'll quickly show you that also.

03:46.620 --> 03:53.860
So here it says that we have 50 agent mode or chat completions per month and 2000 chat completions per

03:53.860 --> 04:00.730
month, but if you choose to use your $10 package here, you have unlimited Agent Mode chats with the

04:00.730 --> 04:04.570
GPT five mini, and you have unlimited code completions.

04:04.570 --> 04:10.450
And then you have all these different additional features you have access to, and you also have the

04:10.450 --> 04:12.410
access to the coding agent.

04:12.410 --> 04:13.250
So it's up to you.

04:13.290 --> 04:18.170
You are welcome to use any of these plants, but if you use free you have a limitation.

04:18.170 --> 04:21.370
But if you use Pro you have unlimited options available.

04:21.770 --> 04:22.170
Okay.

04:22.210 --> 04:24.170
Let's go back to the IntelliJ.

04:24.170 --> 04:27.690
And then you will have this particular chat available for you.

04:27.690 --> 04:29.850
So here you can choose whatever model you want.

04:29.890 --> 04:33.850
And you can also click to see what how you can manage these models okay.

04:33.890 --> 04:37.450
So this is how you set up your copilot in IntelliJ.

04:37.450 --> 04:38.650
And in some of the lectures.

04:38.650 --> 04:42.970
We'll be using this copilot to help understand the concepts.

04:43.130 --> 04:47.930
And also ask the copilot to write the code logic for us.

04:47.970 --> 04:50.450
I hope you all have this copilot installed on your machine.

04:50.730 --> 04:51.050
With this.

04:51.050 --> 04:52.490
We came to the end of this lecture.

04:52.490 --> 04:53.490
Thank you for watching.
