Currently, automatic outlining works in FORTRAN(*) combined with Visual Studio.
Manual outlining works too.
My problem is that the manual outlining is not saved consistently. After exiting VS and restarting it, in some files, the manual outlining is remembered, in other files it is forgotten. I am not able to pinpoint the behavior: in some files, the outlining is never remembered, in other files sometimes, and in other files most of the time.
Now, I know that there is information on the outlining written in the project.suo file. I guess the automatic outlining is done during the loading of the project visual studio, when the status bar reads parse file.f90.
Probably, the information of the project.suo file gets merged with the automatic outlining.
Looking into the .suo file, I notice that the order of the file names is not fixed.
There is another issue, which I mention because it may be related. About once every two weeks, an error occurs during the loading of the project. I did not write down the message (bad luser, I know..., and it occurs too seldomly to regenerate it), but the message instructs to add a /log parameter to the visual studio startup command for further debugging. In the log file, I find the following error:
System.InvalidOperationException: Collection was modified; enumeration operation
may not execute. at
System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at
I suspect something goes wrong in the cooperation between Visual Studio and the Fortran Compiler Integration.
Please let me know if you need more information.
(*) I am using
- MS Visual Studio 2010 Professional
- Intel Visual Fortran Composer XE 2011 Update 9, package ID w_fcompxe_2011.9.300. Details: Intel...Update 9 Integration for Microsoft Visual Studio* 2010, 12.1.3526.2010
- AnkhSVN - Subversion Support for Visual Studio 2.3.10838.1211
* Ankh.Package 2.3.10838.1211
* Subversion 1.7.3 via SharpSvn 1.7003.2023.12943