This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
Can only use code formatting after type checking has finished #545
Open
Description
Currently, VSCode only formats my code after RLS has successfully finished type checking. Prettier in the JavaScript community has gotten me into the pattern of writing really messy code and then letting the formatter take care of it, so waiting until after type checking successfully finishes type checking slows down my workflow. Also means I can’t commit formatted code with type errors unless I use rust-format
on the CLI.
Versions:
VSCode extension: 0.5.4
$ rustc -V
rustc 1.35.0-nightly (cb2f34dc6 2019-03-22)
$ cargo -V
cargo 1.35.0-nightly (0e35bd8af 2019-03-13)
$ rls -V
rls 1.35.0 (90f7ab0 2019-03-17)