Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29576 讨论

Syntax highlighting in Visual Studio 2008

erich_riegler
初学者
2,051 次查看
I installed Intel Visual Fortran Compiler Version 11.1.035. In this version the Fortran-commentlines starting with a "C" in the first column are not recognized as comments anymore(for syntax highlighting).

How can I resolve this ?
0 项奖励
8 回复数
bendel_boy1
初学者
2,051 次查看
I installed Intel Visual Fortran Compiler Version 11.1.035. In this version the Fortran-commentlines starting with a "C" in the first column are not recognized as comments anymore(for syntax highlighting).

How can I resolve this ?

Was your file extension .f90 (freeform - C in the first column is not a comment) or .f/.for (fixed format - C in the first column is a comment).?
0 项奖励
erich_riegler
初学者
2,051 次查看
Quoting - bendel boy

Was your file extension .f90 (freeform - C in the first column is not a comment) or .f/.for (fixed format - C in the first column is a comment).?

The file(s) are .f (fixed format).
0 项奖励
Steven_L_Intel1
2,051 次查看
This is a known problem if you have multiple projects and open the file from an error message, or perhaps some other ways. It will be fixed in a future update.
0 项奖励
erich_riegler
初学者
2,051 次查看
This is a known problem if you have multiple projects and open the file from an error message, or perhaps some other ways. It will be fixed in a future update.

But this worked well with the last Version of the Compiler we used !
So what has changed in the IDE-integration ?
0 项奖励
Steven_L_Intel1
2,051 次查看
I'm not sure what changed, and I can't be certain that you are seeing the same problem. If you create a new project with a fixed-form source file (.f) and open that file from the Solution Explorer pane, do you get the highlighting correct?
0 项奖励
erich_riegler
初学者
2,051 次查看
I'm not sure what changed, and I can't be certain that you are seeing the same problem. If you create a new project with a fixed-form source file (.f) and open that file from the Solution Explorer pane, do you get the highlighting correct?

Yes, in that case it works correct.
But in existing projects it does not, as it did until installing the new compiler version.

Erich
0 项奖励
Steven_L_Intel1
2,051 次查看
We will fix this in a future update, and apologize for the inconvenience.
0 项奖励
Steven_L_Intel1
2,051 次查看
I believe that this was fixed in Update 2 (11.1.046). Please try this and let me know.
0 项奖励
回复