Format Fortran Indent Plugin V0.2.3 is out.

来源:互联网 发布:如何查看交换机端口ip 编辑:程序博客网 时间:2024/05/21 13:17

Format Fortran Indent Plugin V0.2.3 is out.

2012年10月4日,收到以下内容的邮件:

First of all thanks for the good job in the indent tool! It was
something missing from the Fortran society :)
 
I have a small problem with the indentation. When I choose a file to
indent it also indents the directives. For example in:
 
#ifdef __INTEL_COMPILER
   use IFPORT
#else
   intrinsic lnblnk
#endif
 
#ifdef gets indented and then ifort crashes saying that it's not a
valid preprocessing directive. I have a lot of these and I have to put
them back by hand.
I use the latest C::B from Darius website for Linux and Intel Parallel
studio 2013 (the problem was there with older ones also).

2013年3月26日,Format Fortran Indent Plugin V0.2.3 is out.

增加在Fortran文件中C预处理(C Preprocessor)的支持。

其实,增加这样支持不是太难。但是对在Fortran文件中采用C预处理(C Preprocessor)感觉很奇怪。不过最近终于明白了。

你现在可以进行设置,从Code::Blocks的Settings菜单中选择Editor...菜单项,

进入 Configure editor 设置对话框,选择 Fortran Indent 选项, 进行 Fortran Indent 设置选择页。

你可以更改选项,以符合你的使用情况和习惯。


最近在使用 VirtualBox,所以增加了对 CentOS 6.4 i686 和 x86_64 的编译。

最近写了一个简易使用教程,大家可以参考一下。

How to Use the Format Fortran Indent Plugin for Code::Blocks ?

How to change options for Format Fortran Indent Plugin ?


欢迎大家使用(可从https://github.com/ywx/FormatFortranIndentPlugin下载)。