GNU缩进样式 [英] GNU indent styles

查看:68
本文介绍了GNU缩进样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在网上搜索一些常见的缩进样式代表

作为GNU缩进的选项(如gnu = -nbad -bap -nbc -bbo - bl -bli2

-bls -ncdb -nce -cp1 -cs -di2 -ndj -nfc1 -nfca -...或

Kernighan& Ritchie = -nbad - bb -bbo -nbc -br -brs -c33 -cd33 -ncdb

-ce -ci4 -cli0 -...但是对于那些没有代表的人来说

参数。)并且似乎很难找到任何。

我想要的基本上或多或少是理智的。风格,比如

这里推荐的java
http://java.sun.com/docs/codeconv/ht...nvTOC.doc.html

但是对于c ++。

有没有人知道一个网站列出了几个样式作为

gnu缩进参数的列表?


谢谢,

Ido Yehieli。

解决方案

嗨!

Id ********* @ gmail.com


< [...]

但是对于c ++。
有没有人知道一个网站列出几个样式作为
gnu缩进参数的列表?



IIRC gnu缩进不支持C ++。


问候,

Matthias


Matthias Kluwe写道:

嗨!

Id ********* @ gmail.com

< [...]

但是对于c ++。
有没有人知道一个网站列出几个样式作为
gnu缩进参数的列表?


IIRC gnu缩进不支持C ++。




更重要的是,我很确定C ++语言不支持GNU

缩进;)

到OP,试试GNU缩进是主题的地方。


Ben Pope < br $> b $ b -

我不只是一个数字。对很多人来说,我被称为弦乐......


Ben Pope写道:

IIRC gnu缩进不支持C ++。



更重要的是,我很确定C ++语言不支持GNU
缩进;)




然而,改变GNU缩进可能会更容易,因为它使用C ++而不是改变C ++中的C ++。它的一种方式

适用于GNU缩进。


Hi,
I was searching the web for some common indent styles represented
as options for GNU indent (like gnu = -nbad -bap -nbc -bbo -bl -bli2
-bls -ncdb -nce -cp1 -cs -di2 -ndj -nfc1 -nfca -... or
Kernighan & Ritchie = -nbad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb
-ce -ci4 -cli0 -..., but for ones that arn''t represented as one
parameter yet.) and it seems quite difficult to find any.
What I want is basically the more or less "sane" style, like the
one recommended for java here
http://java.sun.com/docs/codeconv/ht...nvTOC.doc.html
but for c++.
Does anyone know of a web site listing several styles as a list of
gnu indent parameters?

Thanks,
Ido Yehieli.

解决方案

Hi!

Id*********@gmail.com:

< [...]

but for c++.
Does anyone know of a web site listing several styles as a list of
gnu indent parameters?



IIRC gnu indent does not support C++.

Regards,
Matthias


Matthias Kluwe wrote:

Hi!

Id*********@gmail.com:

< [...]

but for c++.
Does anyone know of a web site listing several styles as a list of
gnu indent parameters?



IIRC gnu indent does not support C++.



More to the point, I''m pretty sure C++ language does not support GNU
indent ;)

To the OP, try somewhere where GNU indent is topical.

Ben Pope
--
I''m not just a number. To many, I''m known as a string...


Ben Pope wrote:

IIRC gnu indent does not support C++.



More to the point, I''m pretty sure C++ language does not support GNU
indent ;)



However, it would probably be easier to change GNU indent in such a way that
it works with C++ than it would be to change C++ in such a way that it
works with GNU indent.


这篇关于GNU缩进样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆