This Is How Artificial Intelligence Programs in JAVA (GitHub Copilot)

Published: 05 November 2021
on channel: Antonio Párraga
9,681
383

GitHub Copilot now finally supports JetBrains and Java!! And today I'm going to show you how it generates Java code with just a few taps. If you're a Java developer, you're going to be blown away!

A few months ago, GitHub Copilot was released, an AI powered by Codex capable of generating code in Python, Ruby, JavaScript, TypeScript, and Go, but not in Java :(

Well, until last week, when they finally released a version that does support Java, and not only that: it's also available for JetBrains IDEs, including the famous IntelliJ, one of the most widely used IDEs by the Java community.

So in this awesome video, we'll see how GitHub Copilot works and how it performs in IntelliJ. We'll not only test it with relatively simple tasks like generating various algorithms, but we'll also see how it generates a complete Spring Boot project, with database access, unit tests, and even a REST layer. It even generates the POM dependencies.

Get comfortable, make yourself a coffee, and hit PLAY, because here's a fantastic 26-minute video showing how GitHub Copilot generates Java code.

In this Video:

00:00 Intro
01:18 Installing GitHub Copilot in IntelliJ
02:00 Generating HanoiResolver code (Towers of Hanoi)
04:50 Generating a utility class for strings
09:08 Generating a solution with Spring Boot
09:30 Generating Maven dependencies in a POM file
10:50 Generating the main Spring Boot class, model classes, and their JPA repositories
16:05 Generating unit tests to test model classes and persistence with JPA
20:16 Generating the REST layer
22:06 Generating the application.yml configuration file to connect to a MySQL database
23:00 Testing that everything works and invoking the REST API with Postman
24:50 Conclusions

URLs for this video:
GitHub Copilot official page: https://copilot.github.com

Don't forget to subscribe to this channel and hit the bell icon so YouTube notifies you when I upload more cool videos like this one!

#githubcopilot #jetbrains


On this page of the site you can watch the video online This Is How Artificial Intelligence Programs in JAVA (GitHub Copilot) with a duration of hours minute second in good quality, which was uploaded by the user Antonio Párraga 05 November 2021, share the link with friends and acquaintances, this video has already been watched 9,681 times on youtube and it was liked by 383 viewers. Enjoy your viewing!