|
From: | KHMan |
Subject: | Re: [Tinycc-devel] 回复: jiang, please indent properly! |
Date: | Wed, 14 May 2014 13:31:22 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
On 5/14/2014 12:52 PM, Nicolas Limare wrote:
On Wed, May 14, 2014 at 10:32:36AM +0800, jiang wrote:I did not mean it, I will immediately change overnightIf your text editor doesn't offer this option, you can use the `expand` program. -> http://linux.die.net/man/1/expand
Another way is to find an editor with per-directory-tree customization. Once set up, I am reasonably sure each project source tree is edited according to its norms. I use SciTE for that, I'm sure there are other editors that have the feature.
You can even do that automatically with a pre-commit hook. -> http://www.seriousramblifications.com/2013/05/coding-standards-artistic-style-and-git.html
-- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia
[Prev in Thread] | Current Thread | [Next in Thread] |