I looked at this tool already, but it has a complementary approach (which definitely is needed in addition anyway). I want to base code completion entirely on the compiler, which means it will only work for something the compiler can get analaysis to pass on. But on the other hand it will be absolutely accurate and "could" be used to restyle an entire codebase without fear of breaking stuff (in an ideal world at least). But of course for many tasks it might also be better to just format stuff that doesn't yet compile. So both approaches have their tradeoffs I think. Just want to make sure I am not doing duplicate work ;), and in this case it looks as if it was a completely different approach.
On Mon, Jul 14, 2014 at 3:03 PM, Jeffery Olson <[email protected]> wrote: > > > > On Mon, Jul 14, 2014 at 1:24 AM, Christoph Husse > <[email protected]> wrote: >> >> Hmm I am actually trying to make one as first step towards accurate >> code completion and refactoring. But I have never done that before so >> I can't promise anything :D. >> >> On Mon, Jul 14, 2014 at 1:12 AM, Simon Sapin <[email protected]> wrote: >> > On 13/07/14 19:18, Tony Arcieri wrote: >> >> >> >> On Fri, Jul 11, 2014 at 11:49 AM, Aaron Turon <[email protected] >> >> <mailto:[email protected]>> wrote: >> >> >> >> The best part: approved guidelines can turn into (1) new github >> >> issues to bring libstd into line and (2) an authoritative way to >> >> resolve debates on libstd PRs. >> >> >> >> >> >> How about a gofmt-like source code reformatting utility? > > > https://github.com/pcwalton/rustfmt > >> >> > >> > >> > As far as I can tell, everyone agrees it would be great to have. We just >> > need someone to make it. >> > >> > -- >> > Simon Sapin >> > >> > _______________________________________________ >> > Rust-dev mailing list >> > [email protected] >> > https://mail.mozilla.org/listinfo/rust-dev >> _______________________________________________ >> Rust-dev mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/rust-dev > > > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev > _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
