Hi,
I've a minor problem with Intel Fortran Composer integration and Visual Studio 2013.
As far as I can see it is not possible to access the text properties from Fortan document using Visual Studio automation. I fact I want to change indent size from between 2 and 4 chars. Useful for me, because I have to handle old ugly F95 code which uses 2 chars indent and new one which uses 4 chars indent like C++.
In order to change the indent setting at the text editor options (and for a lot of other stuff), I've added a private Add-In to Visual Studio 2013. The Add-Inn works very well but here is one annoying issue: I cannot access the text editor properties of a Fortran document.
This works fine for "C/C++":
Dim props As Properties = DTE2.Properties("TextEditor", "C/C++") GetIdentSize = CType(props.Item("IndentSize").Value(), Integer)
This does not work for Fortran:
Dim props As Properties = DTE2.Properties("TextEditor", "Fortran" ) GetIdentSize = CType(props.Item("IndentSize").Value(), Integer)
As I could figure out, the "Fortran" property is not available. It should be there, because all other supported languages "C#", "VB", … expose their properties there. Only when I try to get the Fortran Text Editor properties, an exception is thrown.
This is not a problem from Visual Studio 2013, it is a problem from the Intel Fortran integration. Maybe only the name "Fortran" is wrong, but according to Microsoft Guidelines, application have to use the name which is shown at the options dialog box too.
Product version: Intel® Parallel Studio XE 2015 Composer Edition for Fortran Windows* Update 1 Integration for Microsoft Visual Studio* 2013, Version 15.0.0115.12
Thanks in advance for all comments.