Format Fortran Indent Plugin V0.2.3 is out.

FormatFortranIndentPlugin V0.2.3 版本发布,新增对Fortran文件中C预处理的支持。该插件可在Code::Blocks中使用,并已解决先前存在的预处理指令缩进问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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下载)。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值