- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have lots of .par and .inc files in my Fortran - is there any way to tell VS2010 to use the Fortran editor for those extensions?
"Fortran" is not an option in Tools|Options|Text Editor|File Extension...
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It doesn't work like VS6. Be sure you close and reopen VS2010. And be sure you are running the current version (Update 9), as we had some issues with non-default file types in earlier updates.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tools > Options > Intel Visual Fortran > General > Fixed Format Extension and Free Format Extension.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve -I knew it must be in there somewhere!
EDIT:
Actually, I seem to have spoken too soon - it doesn't seem to work. I was looking for something that would syntax highlight those files like Fortran. Setting those custom extensions doesn't make any difference to how the files are displayed in the editor.
In VS6 you used to be able to specify the "language" to show any file in (though this setting was not permanenet - annoyingly!). Can't you do that in Fortran for VS2010?
(I'm on Win7 x64 if that makes any difference)
EDIT:
Actually, I seem to have spoken too soon - it doesn't seem to work. I was looking for something that would syntax highlight those files like Fortran. Setting those custom extensions doesn't make any difference to how the files are displayed in the editor.
In VS6 you used to be able to specify the "language" to show any file in (though this setting was not permanenet - annoyingly!). Can't you do that in Fortran for VS2010?
(I'm on Win7 x64 if that makes any difference)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It doesn't work like VS6. Be sure you close and reopen VS2010. And be sure you are running the current version (Update 9), as we had some issues with non-default file types in earlier updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update 9 did the trick - great!
Thanks again.
Thanks again.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page