GitHub Copilot is an AI Tool that is well-integrated with VS Code, because both tools are from the same parent company (Microsoft).
Save billing information
to save.Enable two-factor authentication
.Add email address
field.Start an application
.Student
.Help
→ Check for Updates
.Help
→ Restart to Update
.Install
button on the page that opens.Open Visual Studio Code?
and click Open Visual Studio Code
.Install
to install the extension.Sign in
in the pop up.Open Visual Studio Code?
and click Open Visual Studio Code
.File
→ New File
or / Ctrl+N
| Cmd+N
.// print Hello World
inside the main method.public class Main {
public static void main(String[] args) {
// print Hello World
}
}
Tab
to accept the suggestion, or continue typing to refine it.Ctrl+Alt+I
| Cmd+Alt+I
or using the Copilot icon.Ctrl+I
| Cmd+I
.Enter
.accept
.Contributors: Norbert Loh (@NorbertLoh )