5 ms·
I would appreciate if anyone can share your dev setup for Rust. I tried Rust and Racer long time ago and it's not a pleasant experience.
by namelezz 10y ago
I would appreciate if anyone can share your dev setup for Rust. I tried Rust and Racer long time ago and it's not a pleasant experience.
- Manishearth 10y agoVS Code with RLS is amazing. Still a work-in-progress, but some stuff works and it's only going to get better. I'm mostly just used to sublime and vim with minimal tooling so it doesn't matter as much for me. But I'll probably eventually write a plugin for RLS for sublime.
- pjmlp 10y ago> VS Code with RLS is amazing. The only reason I have to install it.
- allengeorge 10y agoI use IntelliJ-Rust with the IDEA vim plugin daily and I recommend it. I can jump to definition for functions, get some autocomplete and type inference (it's not perfect) and the project is actively maintained. Moreover, the maintainers are very welcoming and it's a pleasure to work with them to fix bugs and submit PRs. https://intellij-rust.github.io/ https://intellij-rust.github.io/
- belovedeagle 10y agoA single tmux window, with vim on the left (with no special IDE plugins). On the right, autocall.zsh watches ./src and runs 'cargo build' whenever a file changes. (More specifically, I autocall running in a small pane up top and have it run cargo build piped through less [but you need to fake this as a tty to get cargo to output colors] in a specific, larger pane on the bottom.
- jonathonf 10y ago> get cargo to output colors cargo build --color=always
- belovedeagle 10y agoIt might be fixed now but when I set it up either that didn't exist or even that couldn't convince cargo to output color control chars to a non-tty pipe.
- jonathonf 10y agoFair enough. I just know that it worked with tup, for whatever reason I was playing with that instead of just entr+cargo: ls src/*.rs | entr -c cargo build (entr is pretty awesome :)
- shmerl 10y agonvim with Rust syntax support works for me.
- kazagistar 10y agoAtom with a properly configured racer and rustfmt has been nice, though I have run into one or two very minor annoyances.
- fjrieiekd 10y agoSublime with the Rust plugin. It works well for small projects but I haven't yet tried this with a large project.