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

Incorrect source highlighting in VS2010

DavidWhite
Valued Contributor II
725 Views
When editing an f90 file, the source highlighting continues the red colour for an unterminated text string onto subsequent lines, even when they are not continuation lines.

Regards,


David
0 Kudos
5 Replies
TimP
Honored Contributor III
725 Views
Yes, the same limitation is exhibited as in my own hacked up pre-processing scripts. Some of our colleagues (who are not ifort users) have told us that old-fashioned grammatical rules such as distinguishing between its and it's in comments have no place in the present.
0 Kudos
DavidWhite
Valued Contributor II
725 Views
Tim,

the mistake on the unfinished strings says that the code highlighting is not properly tuned for Fortran - but only for languages which allow continuations onto multiple lines without a continuation character. Is this an error in the Fortran integration?

Thanks,

David
0 Kudos
Steven_L_Intel1
Employee
725 Views
This problem has been reported before. I think it is fixed in Update 11.
0 Kudos
dboggs
New Contributor I
725 Views
"old-fashioned grammatical rules such as distinguishing between its and it's in comments have no place in the present."? Who says so?! Maybe old-fashioned concepts like spelling have no place either--that would certainly explain a lot of things we see on the internet.

...not sure what this has to do with Fortran, or VS, or the original question; just a steam pressure build-up that needs vented.
0 Kudos
TimP
Honored Contributor III
725 Views
Possessives and contractions including ' in comments exhibited the highlighting bug which is the subject of this thread.
0 Kudos
Reply