trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2014

Re: [trinity-devel] Codebase formatting discussion

From: Michele Calgaro <michele.calgaro@...>
Date: Wed, 31 Dec 2014 17:35:42 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2014/12/31 02:13 PM, Timothy Pearson wrote:
>>> Yes, we can wait a few days for your input. :-)
>>> 
>>> The vast majority of this file was written in the style I
>>> prefer: 
>>> https://git.trinitydesktop.org/cgit/tdelibs/tree/tdecore/tdehw/tdehardwaredevices.cpp?id=f27e71dcb162e37234ea98570379f60f8afdd8ea
>>>
>>>
>>> 
I noticed on quick glance that at least one alternate styles snuck in
>>> over time, so the revision ID specified in that link is an
>>> older version without many of the changes that introduced those
>>> alternate styles.
>>> 
>>> I find it very easy to read on mutiple screens, on the Web and
>>> in Kate, from small laptops up to my main workstation.
>>> Comments are of course welcome!
> 
>> If my vote still counts, I have only one request: please do not
>> use 8 spaces for tabs. I prefer only 2 spaces, but 4 is
>> acceptable.
> 
>> Darrell
> 
> I prefer hard tabs, this way each developer can set the space the
> way they want to see it.
> 
> Tim
> 
Tim, just wondering. What tool do you use to reformat existing code?
Cheers
  Michele


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJUo7VeAAoJECp1t8qK3tXPw40QALDSZQX5MZ6ZQRxu23W/nqFx
bcO8BPzktlyuUbJ4vE/OLgqYrQ9m/r8ract1dUXAx8ktZuVyzaoIjlXMW1N4NNTH
pX7G+oSyOeum03eIP29t9BGmubGy6Nc5A+Eu67MeFJWUdZbx13J4ATF2gl0dZihR
rGZAy98myRfROL13ainPDdoAJqduoS7XNgc6ccmJR7cVz35A+3jwobWBpOG7CIzi
Bv/sUfN1QnWjGWZ4cHwdaOr12+GhWakg9k2tylS1UqZIRs7yaDCpz63F1YW5DiMY
Vq/0IPKgN/cKHvgTZ6YqD17+Ev7TJk3uuoouvlZUw+M/3uN+d2WCwCbcrF/DdpMj
Gp9n8nfoadymTsdX5o/LsCa75tCsxkCFNxCA8dAFsyqEU1vOxqjYVBS1whjdeHe+
flqt/U5v2RIX5+DZ+06nQ73VoEbHA0mfgS3DFB0AnATIcccxvdtMPC4NAxlHPbeM
n+siW4BpyE81CQc58GSOVxMeHXU1XCEofXHJqApDKS6q+GRqja9wVVAq3f83j6PC
Xl8M30QNQD7jtEdLYFZN2zg80SP6ZYxAn2LdPSMr3vL0ak23JrUzfyMtQxharcuq
ggLZovf2HFHsBqmOLUHjFsZS5yB6aHbxw3fe7qdiFWRW7eNhcpSUX4jkX7QjwL7+
eXxI5qwJ7Wb75w/7RoQO
=VqYM
-----END PGP SIGNATURE-----