rust-lang/rust-analyzer ? reverse-engineered prompt

Reverse engineered prompt

I want you to build a tool that provides IDE-like features for writing Rust in any code editor, like VS Code or Zed. It should be a language server that gives me smart code completion, the ability to find all the places a variable is used, and a way to quickly jump to a function's definition.

It also needs to integrate with the standard Rust toolchain to show me errors and warnings from rustc and clippy in real time, directly in the editor. Please also include automatic code formatting using rustfmt. The whole project should be written in Rust. The goal is to create a robust front-end for the Rust compiler that can power a great development experience across many different editors.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab