As more tools hook into the same model (
rustfmt) this will improve even further. In JS I never used Prettier because it felt too slow to run on each save. Rustfmt in comparison feels fine.
But what if rustfmt could be run on *each keystroke* without noticeable latency?
-
-
Show this thread
-
Another fun one to consider is: what if rustfix was integrated into the toolchain too? When the compiler spots a bug that it knows how to fix, then the IDE could automatically apply the fix. Fine balance for sure, but I find it incredibly interesting that this can be explored!
Show this thread
End of conversation
New conversation -
-
-
@rust_analyzer and@intellijrust have the same goal I believe -
Maybe at a surface level, but it's my understanding that rust-analyzer is working on the compiler directly — refactoring and updating the Rust compiler itself. While Intellij has a different approach; re-using a separate toolchain of their other editors written in Kotlin.
- 1 more reply
New conversation -
-
-
Agreed, it's an incredible good project. :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I am so seeing forward to it being fast :)! To be fair with modern CPUs it's quite fast, only linking is still slow but I'm not sure rust can do much about it :(
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This is intensely exciting
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
And it doesn't support block-level items such as `use` statements inside of a function
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.