Fireship · @fireship

GitHub Copilot just got promoted to Captain

Uploaded May 1, 2024 · Length 4:01

GitHub Copilot just got promoted to Captain

Summary

GitHub Copilot workspace explained: AI code writing tool for developers

  • github copilot
  • ai code writing
  • developer tools
  • productivity boost
  • programming future

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    in the near future you'll see this weird

  2. 0:02

    magic button when looking at an issue on

  3. 0:04

    GitHub that's because yesterday GitHub

  4. 0:06

    proudly unveiled its latest crime

  5. 0:07

    against humanity a brand new tool that

  6. 0:10

    wants to change the way we write code

  7. 0:11

    called co-pilot workspace a tool that

  8. 0:13

    can write test and execute its own code

  9. 0:16

    entirely from natural language I think

  10. 0:18

    we all knew this day was coming co-pilot

  11. 0:20

    is no longer just the co-pilot but

  12. 0:22

    finally taking over as Captain it's not

  13. 0:24

    all bad news though we humans will still

  14. 0:26

    have jobs as flight attendants who deal

  15. 0:28

    with the angry confused customers

  16. 0:30

    that mother back there is not real in

  17. 0:33

    today's video we'll find out exactly how

  18. 0:35

    co-pilot workspace works and answer the

  19. 0:37

    question of should I be worried or is

  20. 0:39

    this just more AI programming hype it is

  21. 0:41

    May 1st 2024 and you're watching the

  22. 0:43

    code report it's been just over one year

  23. 0:46

    since GPT 4 was released and at that

  24. 0:48

    time I predicted a tool like this was

  25. 0:50

    coming a tool that can plan write test

  26. 0:52

    and execute its own code using only

  27. 0:54

    natural language instructions like

  28. 0:56

    Jensen Wong recently said now everybody

  29. 0:58

    is a programmer and co-pilot work space

  30. 1:00

    brings us closer to that Vision last

  31. 1:02

    month we talked about Devon which has

  32. 1:03

    now been thoroughly debed and co-pilot

  33. 1:05

    workspace is similar to it but gives the

  34. 1:07

    developer a lot more control let's take

  35. 1:09

    a look at how it works you can trigger

  36. 1:11

    co-pilot workspace by clicking the code

  37. 1:13

    button then describe a feature that you

  38. 1:14

    want to implement in the code or you can

  39. 1:16

    start with a GitHub issue then open it

  40. 1:18

    up in a workspace it'll then take you

  41. 1:20

    through a series of steps with the first

  42. 1:22

    step being the specification here it

  43. 1:24

    will look at the current state of files

  44. 1:26

    in the repo related to the issue and

  45. 1:28

    then propose the edits that it's going

  46. 1:29

    to make in the these files to fix the

  47. 1:31

    issue what's cool about this is that you

  48. 1:32

    can edit this document is so if the plan

  49. 1:34

    doesn't look right you can modify it to

  50. 1:36

    guide the AI in the right direction

  51. 1:38

    after the spec is in place the next step

  52. 1:40

    is the plan here it will list out all of

  53. 1:42

    the affected files and describe the code

  54. 1:44

    changes in each one of them and as

  55. 1:46

    before you can edit this document to

  56. 1:48

    modify the plan then when you submit the

  57. 1:50

    plan it will add these files to a queue

  58. 1:52

    where the AI writes all the codes to

  59. 1:54

    make the changes from there you'll be

  60. 1:55

    able to open up each file and review the

  61. 1:57

    diff to see what actually changed and of

  62. 1:59

    course you can modify this code as