[rust-dev] Rust Guidelines

Christoph Husse thesaint1987 at googlemail.com
Mon Jul 14 06:13:19 PDT 2014


I meant code formatting, not code completion xD

On Mon, Jul 14, 2014 at 3:12 PM, Christoph Husse
<thesaint1987 at googlemail.com> wrote:
> 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 <olson.jeffery at gmail.com> wrote:
>>
>>
>>
>> On Mon, Jul 14, 2014 at 1:24 AM, Christoph Husse
>> <thesaint1987 at googlemail.com> 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 <simon.sapin at exyr.org> wrote:
>>> > On 13/07/14 19:18, Tony Arcieri wrote:
>>> >>
>>> >> On Fri, Jul 11, 2014 at 11:49 AM, Aaron Turon <aturon at mozilla.com
>>> >> <mailto:aturon at mozilla.com>> 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
>>> > Rust-dev at mozilla.org
>>> > https://mail.mozilla.org/listinfo/rust-dev
>>> _______________________________________________
>>> Rust-dev mailing list
>>> Rust-dev at mozilla.org
>>> https://mail.mozilla.org/listinfo/rust-dev
>>
>>
>>
>> _______________________________________________
>> Rust-dev mailing list
>> Rust-dev at mozilla.org
>> https://mail.mozilla.org/listinfo/rust-dev
>>


More information about the Rust-dev mailing list