rust-analyzer logo

rust-analyzer is a modular compiler frontend for the Rust language. Our plugin that automatically converts unsafe code to safe code is built upon that.

Quick Start

  1. Install the VScode for Linux from link: https://code.visualstudio.com/docs/setup/linux
  2. Install Rust for Linux by command:
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Go the extension source code:
$ cd rust-analyzer
  1. Install Nodejs and npm for Linux by command:
$ sudo apt install nodejs
$ curl -L https://npmjs.org/install.sh | sudo sh 
  1. Install the extension to VScode:
cargo xtask install

Now the extension is installed in your VScode, you can open the Demo project and test the safe suggestion plugin.