- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My Tools->Options->Intel Visual Fortran->Fixed Format Extension is set for .f files. Nevertheless, if I open a .f file without having any solution or project opened, it is recognized as a free format Fortran file. If a project is set, then the .f file is recognized as Fixed Format. This happens for any .f files not defined in a project.
Visual Studio 2005 integration does not have that problem.
Is there a way to fix this? This is pretty annoying as you just cannot edit fixed format file if they are not included in a Visual Studio 2010 project/solution.
This is what is installed on my computer:
Visual Studio 2010 SP1
Intel composer XE 2011 Update 6
Etienne
Visual Studio 2005 integration does not have that problem.
Is there a way to fix this? This is pretty annoying as you just cannot edit fixed format file if they are not included in a Visual Studio 2010 project/solution.
This is what is installed on my computer:
Visual Studio 2010 SP1
Intel composer XE 2011 Update 6
Etienne
Link Copied
16 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe this is the same as our issue DPD200173541 which is fixed for a future update (probably 8). You can edit the file, but the coloring is wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but it is not a syntax coloring problem, the file is in free format, which means it will consider tabs as tabs and will not start on column 6 if you edit the file. Just forget about editing a file like this, especially if you hit an ill formatted file mixing tabs and spaces to create the initial spacing of a line...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok - I think that is all part of the same problem which will be fixed in an update. Or add the file to a project and edit it that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem even it my files are part of a (makefile) project. Any workarounds?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What do you mean "part of a makefile project"? What problem are you seeing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A project created by File->New->"Project from existing code "and selecting "Use external build system". This is the way I create my projects because I use make files to build my code.
P.S. I tried the the latest compuler (update 8) and still have the same problem.
P.S. I tried the the latest compuler (update 8) and still have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Fortran does not support "Project from existing code". However, when I try that, I don't get "Use external build system" as an option. Can you tell me the exact steps you took to see a problem?
If you open a Fortran file outside of a project, the source coloring should work. This probably doesn't work if the file is in some non-Fortran project.
If you open a Fortran file outside of a project, the source coloring should work. This probably doesn't work if the file is in some non-Fortran project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I opening a fortran file outsite the project it is indeed reqognized as a fixed format file correctly. But I always use "Project from existing code" because I use make files to compiler everyting and it works fine in visual studio 2005.
I also have a mix of Fortran and C files in my project so I can not create a Fortran only project.
I create my project doing the folowing steps
- File->New->"Project for existing code"
- select Visual C++ (can only choose from C++ and C#)
- Select the directory for which you want to create a project
- give the project a name
- add ";*.f,*.fpp" to the end of the "file types to add to the project" field
- unselelct "Show all files in Solution Explorer"
- click next
- Now you can select "Use external build system"
- click next
- enter your make commands
- click next
- click finish
Would be nice if it would still work with these kind of projects
I also have a mix of Fortran and C files in my project so I can not create a Fortran only project.
I create my project doing the folowing steps
- File->New->"Project for existing code"
- select Visual C++ (can only choose from C++ and C#)
- Select the directory for which you want to create a project
- give the project a name
- add ";*.f,*.fpp" to the end of the "file types to add to the project" field
- unselelct "Show all files in Solution Explorer"
- click next
- Now you can select "Use external build system"
- click next
- enter your make commands
- click next
- click finish
Would be nice if it would still work with these kind of projects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I never dove that deep into that feature. I reproduced the problem - you are correct that .f files get colored in VS2005 and VS2008 but not VS2010. I will ask the developers if they can fix this. Issue ID is DPD200178023.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This has been fixed for a future release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! Any idea when this will be available? We are really waiting for this. We have to switch to VS2010 but this is blocking us at the moment? Any workaround/hotfix possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is blocking you? How? As far as I can tell, it simply means you don't get fixed-form source colored.
There is no hotfix available. A workaround would be to create a Fortran project that included these sources if you wanted to edit them and get the full Fortran editing experience. The next release is scheduled for later this year, but still some months away.
There is no hotfix available. A workaround would be to create a Fortran project that included these sources if you wanted to edit them and get the full Fortran editing experience. The next release is scheduled for later this year, but still some months away.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@emonette: Intel composer XE 2011 Update 7, this will fix your problem. But not mine however. And yes it is very annoying.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Steve: OK blocking is maybe not the good word. This is holding us back to make the switch to VS2010 now because it is not really convenient.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I still have the same problem with update 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is fixed for a future version of the compiler. It won't be in an update to the Composer XE 2011 product.
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