On Thu, 2018-02-22 at 07:00 +, Seb via Digitalmars-d wrote:
> […]
> Though Sociomantic has recently taken over the release process of
> dfmt and currently provides APT packages at bintray:
>
> https://bintray.com/dlang-community/apt/dfmt
So now we have both:
http://d-apt.sourceforge.net/
a
On Thursday, 22 February 2018 at 05:38:38 UTC, psychoticRabbit
wrote:
On Thursday, 22 February 2018 at 04:48:58 UTC, Nicholas Wilson
wrote:
On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit
wrote:
I rely (heavily) on clang-format in my C code. It save me so
much effort and has beco
note that we'd need to implement
https://github.com/dlang-community/dfmt/issues/159 (
option to format only diff-ed lines (like git clang-format))
in order to run dfmt on only the part of source code that was modified in a PR.
this is to avoid concern that it affects git history / git blame
(alt
On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit
wrote:
I rely (heavily) on clang-format in my C code. It save me so
much effort and has become a vital day to day tool for me.
I was wondering whether D also has a 'reliable' source code
formatter.
(reliable being a key word there
On 22/02/2018 6:38 PM, psychoticRabbit wrote:
On Thursday, 22 February 2018 at 04:48:58 UTC, Nicholas Wilson wrote:
On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit wrote:
I rely (heavily) on clang-format in my C code. It save me so much
effort and has become a vital day to day to
On Thursday, 22 February 2018 at 04:48:58 UTC, Nicholas Wilson
wrote:
On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit
wrote:
I rely (heavily) on clang-format in my C code. It save me so
much effort and has become a vital day to day tool for me.
I was wondering whether D also has
On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit
wrote:
I rely (heavily) on clang-format in my C code. It save me so
much effort and has become a vital day to day tool for me.
I was wondering whether D also has a 'reliable' source code
formatter.
(reliable being a key word there
I rely (heavily) on clang-format in my C code. It save me so much
effort and has become a vital day to day tool for me.
I was wondering whether D also has a 'reliable' source code
formatter.
(reliable being a key word there).
Also, if it does, then why is it not included in the distribution
On Thursday, 5 July 2012 at 10:27:41 UTC, maarten van damme wrote:
I'm using uncrustify too although it has the annoying habbit of
rewriting => to = > causing all functions using the new lambda
syntax
to break.
Creating a formatter that works *well* is a larger challenge than
I first imagine
On Thursday, 5 July 2012 at 22:27:09 UTC, Roman D. Boiko wrote:
On Thursday, 5 July 2012 at 22:25:15 UTC, Walter Bright wrote:
I agree that whatever is inside the comment should be left
alone. I was more talking about lining up comment blocks, etc.
Why would that be more difficult to do than cod
On 7/5/2012 1:52 PM, Brian Schott wrote:
On Thursday, 5 July 2012 at 19:22:56 UTC, Walter Bright wrote:
I think that formatting the code is actually rather easy - the hard part will
be dealing with the comments in a reasonable way.
Eclipse has had a LOT of time and energy put into it, and it s
On Thursday, 5 July 2012 at 22:25:15 UTC, Walter Bright wrote:
I agree that whatever is inside the comment should be left
alone. I was more talking about lining up comment blocks, etc.
Why would that be more difficult to do than code formatting? I'm
wondering.
On Thursday, 5 July 2012 at 19:22:56 UTC, Walter Bright wrote:
I think that formatting the code is actually rather easy - the
hard part will be dealing with the comments in a reasonable way.
Eclipse has had a LOT of time and energy put into it, and it
still makes my javadoc uglier than it was
On 7/4/2012 9:46 PM, Walter Bright wrote:
It would be nice to have a D source code formatter. But it needs a champion.
Who's up for it?
I think that formatting the code is actually rather easy - the hard part will be
dealing with the comments in a reasonable way.
On Thursday, 5 July 2012 at 04:47:29 UTC, Walter Bright wrote:
It would be nice to have a D source code formatter. But it
needs a champion. Who's up for it?
I'm already working on adding formatting to my general-purpose D
tool.
https://github.com/Hackerpilot/Dscanner
On 2012-07-05 06:46, Walter Bright wrote:
It would be nice to have a D source code formatter. But it needs a
champion. Who's up for it?
I just tried ddmd-clean and it already does some form of source code
formatting. It will format the following file:
https://github.com/zachthemystic
On 2012-07-05 06:46, Walter Bright wrote:
It would be nice to have a D source code formatter. But it needs a
champion. Who's up for it?
It's a great idea but as others have said, I see no point in creating
this until we have a D compiler available as a library.
--
/Jacob Carlborg
maarten van damme wrote:
> 2012/7/5 Jens Mueller :
> > Walter Bright wrote:
> >> It would be nice to have a D source code formatter. But it needs a
> >> champion. Who's up for it?
> >
> > I'm using uncrustify (http://uncrustify.sourceforg
2012/7/5 Jens Mueller :
> Walter Bright wrote:
>> It would be nice to have a D source code formatter. But it needs a
>> champion. Who's up for it?
>
> I'm using uncrustify (http://uncrustify.sourceforge.net/). It does most
> of the time what I want.
>
> Je
On Thursday, July 05, 2012 11:11:28 Paulo Pinto wrote:
> This are the type of projects that would benefit from having the
> compiler available as library.
It will be eventually, but someone (or several someones) will have to take the
time to do it. Once I find the time, I intend to port the lexer
On Thursday, 5 July 2012 at 06:27:55 UTC, Walter Bright wrote:
On 7/4/2012 10:22 PM, Jonathan M Davis wrote:
On Wednesday, July 04, 2012 21:46:29 Walter Bright wrote:
It would be nice to have a D source code formatter. But it
needs a champion.
Who's up for it?
Doesn't that need a
Walter Bright wrote:
> It would be nice to have a D source code formatter. But it needs a
> champion. Who's up for it?
I'm using uncrustify (http://uncrustify.sourceforge.net/). It does most
of the time what I want.
Jens
On Thursday, 5 July 2012 at 06:27:55 UTC, Walter Bright wrote:
On 7/4/2012 10:22 PM, Jonathan M Davis wrote:
On Wednesday, July 04, 2012 21:46:29 Walter Bright wrote:
It would be nice to have a D source code formatter. But it
needs a champion.
Who's up for it?
Doesn't that need a
On 7/4/2012 10:22 PM, Jonathan M Davis wrote:
On Wednesday, July 04, 2012 21:46:29 Walter Bright wrote:
It would be nice to have a D source code formatter. But it needs a champion.
Who's up for it?
Doesn't that need a lexer and parser for D first (which I'd _love_ to do but
j
On Wednesday, July 04, 2012 21:46:29 Walter Bright wrote:
> It would be nice to have a D source code formatter. But it needs a champion.
> Who's up for it?
Doesn't that need a lexer and parser for D first (which I'd _love_ to do but
just haven't had time to get around to)?
- Jonathan M Davis
On 7/5/12 12:46 AM, Walter Bright wrote:
It would be nice to have a D source code formatter. But it needs a
champion. Who's up for it?
Yes please.
Andrei
It would be nice to have a D source code formatter. But it needs a champion.
Who's up for it?
27 matches
Mail list logo