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

Syntax highlighting in Visual Studio 2008

erich_riegler
Beginner
862 Views
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 Kudos
8 Replies
bendel_boy1
Beginner
862 Views
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 Kudos
erich_riegler
Beginner
862 Views
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 Kudos
Steven_L_Intel1
Employee
862 Views
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 Kudos
erich_riegler
Beginner
862 Views
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 Kudos
Steven_L_Intel1
Employee
862 Views
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 Kudos
erich_riegler
Beginner
862 Views
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 Kudos
Steven_L_Intel1
Employee
862 Views
We will fix this in a future update, and apologize for the inconvenience.
0 Kudos
Steven_L_Intel1
Employee
862 Views
I believe that this was fixed in Update 2 (11.1.046). Please try this and let me know.
0 Kudos
Reply