* eCos standard config for indent or astyle?
@ 2011-03-22 14:54 Grant Edwards
2011-03-22 16:56 ` Sergei Gavrikov
0 siblings, 1 reply; 3+ messages in thread
From: Grant Edwards @ 2011-03-22 14:54 UTC (permalink / raw)
To: ecos-devel
Does anybody have a config file for either indent or astyle that will
format source code according to eCos standards?
--
Grant Edwards grant.b.edwards Yow! It's the RINSE CYCLE!!
at They've ALL IGNORED the
gmail.com RINSE CYCLE!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eCos standard config for indent or astyle?
2011-03-22 14:54 eCos standard config for indent or astyle? Grant Edwards
@ 2011-03-22 16:56 ` Sergei Gavrikov
2011-03-22 19:00 ` Grant Edwards
0 siblings, 1 reply; 3+ messages in thread
From: Sergei Gavrikov @ 2011-03-22 16:56 UTC (permalink / raw)
To: Grant Edwards; +Cc: ecos-devel
On Tue, 22 Mar 2011, Grant Edwards wrote:
> Does anybody have a config file for either indent or astyle that will
> format source code according to eCos standards?
Hi,
They have 'Lindent'..., I thought, - Why we have not 'Eindent'? :-)
Well, I wrote *something* for myself
HG's repo https://bitbucket.org/tickling/geneindent/src
Install
sh genindent > ~/bin/Eindent
chmod +x ~/bin/Eindent
Usage (mostly in Vim on visual blocks)
:'<,'>!Eindent
Also I wrote vim.cdl (vim syntax file) to hack/check eCos config files:
HG's repo https://bitbucket.org/tickling/vim-syntax-cdl/src
HTH
Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eCos standard config for indent or astyle?
2011-03-22 16:56 ` Sergei Gavrikov
@ 2011-03-22 19:00 ` Grant Edwards
0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2011-03-22 19:00 UTC (permalink / raw)
To: ecos-devel
On 2011-03-22, Sergei Gavrikov <sergei.gavrikov@gmail.com> wrote:
> On Tue, 22 Mar 2011, Grant Edwards wrote:
>
>> Does anybody have a config file for either indent or astyle that will
>> format source code according to eCos standards?
>
> Hi,
>
> They have 'Lindent'..., I thought, - Why we have not 'Eindent'? :-)
> Well, I wrote *something* for myself
>
> HG's repo https://bitbucket.org/tickling/geneindent/src
Great!
Thanks.
--
Grant Edwards grant.b.edwards Yow! An air of FRENCH FRIES
at permeates my nostrils!!
gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-22 19:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 14:54 eCos standard config for indent or astyle? Grant Edwards
2011-03-22 16:56 ` Sergei Gavrikov
2011-03-22 19:00 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).