Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Include File Language Question

Intel_C_Intel
Employee
450 Views
Our FORTRAN projects contain a lot of different include file extensions:

*.STR for structures
*.CMN for common block definitions
*.PRM for parameter definitions
*.INC for other includes (such as DLL function interfaces etc.)

In Developer Studio you can right-click on the main file window, choose 'Properties' and thence change the language for that file (so you can get whatever syntax colouring you like). However, this is not permananet, if you close and reopen the file it defaults to no syntax highlighting (text file).

Does anyone know a way around this? Can you specify which file extensions you wish to be treated as FORTRAN?
0 Kudos
1 Reply
gregscvf
Beginner
450 Views
I created two macros and added them to a toolbar. Whenever I want the syntax coloring, I just click on the shortcut.
For more details, see Help, Developer Studio 98, Automating tasks, Macros.
The macros are attached.
Greg
0 Kudos
Reply