This week you'll apply concepts related to setting up your environment. From installing Rust, to using GitHub Copilot and configuring your text editor with Codespaces. These assignments are designed to help you get comfortable with the tools you'll be using throughout the course.
In this assignment, you'll install Rust and configure Visual Studio Code with the Rust Analyzer extension.
- Install Rust using the Rustup installer.
- Install Visual Studio Code
- Install the Rust Analyzer extension for Visual Studio Code.
Because this is a configuration-only assignment, there are no artifacts to submit. At the end of this assignment you should have a working Rust installation and Visual Studio Code configured with the Rust Analyzer extension.
In this assignment, you'll enable GitHub Copilot for your GitHub account. You'll also install the GitHub Copilot extension for Visual Studio Code.
- # Copilot
- Install the GitHub Copilot extension for Visual Studio Code.
For this assignment, you'll have a GitHub repository with a single main.rs
file that you'll create with a single function produced with the help of GitHub Copilot. Additionally, you'll include a README.md
that describes the function and at least one aspect of Copilot that you found interesting.
This is the last assignment for this week. In this assignment, you'll configure Visual Studio Code with Codespaces.
- Use Visual Studio Code to create a new Codespace configuration with dev containers.
- Use the Rust image for the configuration
- Add the Rust Analyzer and GitHub Copilot extensions to the configuration.
- A GitHub repository with a
.devcontainer
directory with the configuration files for your Codespace. - A
README.md
file that describes the configuration and how to use it. - The repository has to be fully functional with Codespaces and you should be able to run it from the browser.