How to change options for Format Fortran Indent Plugin ?
从Code::Blocks的Settings菜单中选择Editor...菜单项,

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

你可以更改选项,以符合你的使用习惯。
当你的 Fortran 源文件中有使用 C Preprocessor,

你要更改 Preprocessor Type 选项为 C Preprocessor。

这样,执行 Format Fortran Indent,你会得到以下规整缩进的结果。

本文介绍如何在Code::Blocks中配置FortranIndent插件来格式化Fortran代码,包括如何针对含有C预处理器指令的文件进行设置。

被折叠的 条评论
为什么被折叠?



