Skip to content

Latest commit

 

History

History
executable file
·
34 lines (26 loc) · 836 Bytes

File metadata and controls

executable file
·
34 lines (26 loc) · 836 Bytes

Rust Hero extension for Visual Studio Code

This extension is an assistant to enhance the quality of Rust code. Currently it supports unsafe prediction.

Author

Vincent Xiao, Dimitris Gkoumas, Yijun Yu

Features

  • Predict unsafe Rust functions.
    • You can predict current file in open window
    • You can predict all Rust files in open workspace

Development and Debug

  1. Install rust_hero crate from local repository:
cargo install --path .

or from cartes.io:

cargo install rust_hero
  1. Install Node.js and dependencies:
cd vscode
npm install
npm install -g vsce
vsce package
  1. Install curs-*.vsix from vscode extension market. After the installation, you can invoke "curs" by right click and choose "curs / Predict function safety of this file".