Setting up Visual Studio Code for Rust development
Coming from C++, it's likely that you're already comfortable with a specific editor or IDE. If it's a popular editor, there's a great chance that Rust will work well with it. Rust provides tooling that implements the popular Language Server Protocol (LSP), an editor-independent way of providing language refactoring and analysis features. Because of this, it can be used with all editors that implement LSP.
For those without a strong editor preference already, we'll walk through setting up Visual Studio Code for Rust development here. Visual Studio Code is a free, high-quality editor that works well with both Rust and other languages, but it's far from the only choice available.
Installing Visual Studio Code
Visual Studio Code can be installed by visiting the editor's main website at https://code.visualstudio.com/. As with the Rust website, the server will detect your operating system and...