How to change options for Format Fortran Indent Plugin ?

How to change options for Format Fortran Indent Plugin ?

从Code::Blocks的Settings菜单中选择Editor...菜单项,

Settings Menu -> Editor...

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

Configure editor Fortran Indent Dialog default

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

当你的 Fortran 源文件中有使用 C Preprocessor,

C Preprocessor origin

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

Configure editor Fortran Indent Dialog C Preprocessor

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

C Preprocessor result


猜你喜欢

转载自blog.csdn.net/gocad/article/details/8779979
今日推荐