rust-lang / rustc-dev-guide

A guide to how rustc works and how to contribute to it.
https://rustc-dev-guide.rust-lang.org
Apache License 2.0
1.65k stars 507 forks source link

building/suggested: Add instructions for Emacs & Helix #2080

Closed mrkajetanp closed 1 week ago

mrkajetanp commented 1 week ago

Add instructions for setting up rust-analyzer with Emacs and Helix. Additionally, move some content applicable to all editors out of the vscode section into its own section for visibility.

jieyouxu commented 1 week ago

@mrkajetanp also note that if you're interested, you can adjust the ./x setup code in boostrap to support creating the emacs and helix config locally, just like for vscode, if you would like to make them feel more "first-class" supported workflow, so to speak.

mrkajetanp commented 1 week ago

Good idea for adjusting the ./x setup code, I might play around with it! At first glance it looks very vscode-specific as it is so might need some refactoring but still should be fine.