WEBVTT

1
00:00:02.139 --> 00:00:08.760
Another useful slash command you can use here and another useful task github copilot can

2
00:00:08.760 --> 00:00:12.740
help you with is the slash new command.

3
00:00:14.120 --> 00:00:21.560
Because you can use that to create a new project or have github copilot help you create a new

4
00:00:21.560 --> 00:00:22.080
project.

5
00:00:23.770 --> 00:00:29.480
If you run the command like this, depending on when you are watching this video, you might

6
00:00:29.440 --> 00:00:33.520
of course get different results, here for me it's telling me that it needs a bit more

7
00:00:33.520 --> 00:00:37.180
information about, well, what I want to create.

8
00:00:38.680 --> 00:00:46.240
So here I'll say a node.js project with the express library.

9
00:00:48.180 --> 00:00:52.840
And you don't need to know node or express to follow along, it's just an example here.

10
00:00:54.620 --> 00:01:00.840
So now with that it now understands what I want and it then gives me a suggested project

11
00:01:00.840 --> 00:01:06.680
structure and even a button I can click to create a new project with that structure.

12
00:01:07.360 --> 00:01:16.240
Now if I do click that, I have to choose a folder and it now creates that project under

13
00:01:16.240 --> 00:01:16.980
that folder.

14
00:01:18.020 --> 00:01:23.180
So now it's creating a new project and new files in a different workspace, in a different

15
00:01:23.500 --> 00:01:26.600
project with github copilot chat.

16
00:01:27.120 --> 00:01:29.560
And it then even asks me whether I want to open that.

17
00:01:30.700 --> 00:01:31.860
And here I do.

18
00:01:32.280 --> 00:01:40.020
So here I am, got my folders and files created here, a package.json file with the express

19
00:01:40.020 --> 00:01:45.220
package installed, which is just what I wanted, or with the express package added.

20
00:01:45.600 --> 00:01:48.740
I would still have to install it manually by running the right command.

21
00:01:49.040 --> 00:01:50.960
So that's working the way it should.

22
00:01:53.140 --> 00:01:56.320
And it's another very useful feature of github copilot, therefore.

