Intel® Fortran Compiler 17.0 Developer Guide and Reference
A number of Fortran source editor enhancements are available in Microsoft Visual Studio*.
A two-part navigation bar, located above the source editor pane, lets you navigate to a specific module (left part) and procedure (right part). To enable the navigation bar, choose Navigation Bar in Tools > Options > Text Editor > Fortran > General.
Smart indenting
Smart indenting automatically indents block constructs (such as IF and DO) and left justifies the corresponding end statement. To enable smart indenting, select it in Tools > Options > Text Editor > Fortran > Tabs.
Code snippet insertion
Code snippet insertion lets you insert a prototype construct (such as DO, WHILE, or MODULE) from a list. Use the right-click context menu Insert Snippet... option to display the list and insert a snippet.
Delimiter matching
Delimiter (brace) matching lets you jump to a matching statement in a block construct (IF...THEN...END IF, DO...END DO). Use Ctrl] to jump. To enable delimiter matching, use Automatic delimiter highlighting in Tools > Options > Text Editor > General.
Call/Callers graph
Call/Caller information can be collected and shown visually in a graph that indicates the call stacks that lead to a unit of code. To enable Call/Callers graph information, change Collect Call/Callers graph information to True in Tools > Options > Text Editor > Fortran > Advanced > Browsing/Navigation.
Use Tools > Options > Text Editor > Fortran > Advanced to view the Fortran Advanced Options page.
Browsing/Navigation section
Collect Object Browser information: Choose this option to enable the display of procedures in your project in a hierarchical tree. Once enabled, you can use View > Object Browser to display your procedures.
If the procedures in your project do not show when browsing in My Solution, you can right-click the message (No information. Try browsing a different component set.) and select View Containers as a possible solution.
Disable Database: Choose this option to disable creation of the code browsing database. This may help increase performance on slow machines. If you disable the database, all features that rely on code browsing information will not work.
Enable Find all References: Choose this option to enable display of the location(s) in your code where a symbol is referenced. When this option is enabled, you can use the right-click context menu Find All References option to display a list of references to the selected symbol. Double-click on a reference to find that reference.
Enable Go To Definition: Choose this option to enable quick navigation to an object definition. When this option is enabled, you can use the right-click context menu Go to Definition option to locate where the selected object was declared, opening the associated source file if required. (If you have also enabled Scan system includes, any objects declared in system modules such as IFWINTY cause the associated source for that module to be opened.)
Scan system includes: Choose this option to scan system include files. This option is used with one or more of the following options: Collect Object Browser Information, Enable Find All References, Enable Go To Definition.
Intrinsics section
Enable Intrinsic Parameter Info: Choose this option to enable the display of intrinsic function and subroutine parameter information. When this option is enabled, you can type a name of an intrinsic procedure, followed by an open parenthesis, and information about the procedure and its arguments appears.
Enable Intrinsic Quick Info: Choose this option to enable the display of additional information when the mouse pointer is moved over an intrinsic function or subroutine name.
Miscellaneous section
Enumerate Comment Tasks: Choose this option to enable the display of a list of tasks consisting of source files containing comments. Comments take the form of the ! character, followed by a token such as TO DO. Valid tokens are those listed in Tools > Options > Environment > Task List. When this option is enabled, you can select Comments from the task list using View > Other Windows Task List. Double-click on a comment in the list to jump to its location.
Highlight Matching Tokens: Choose this option to allow identifier highlighting and block delimiter matching. When enabled, this option highlights all references to the identifier under the cursor.
Outlining section
Enable Outlining: Choose this option to allow the collapsing of whole program units. When this option is enabled, you can click the minus (-) or plus (+) symbols for PROGRAM, SUBROUTINE, FUNCTION, MODULE, and BLOCK DATA statements.
Outline Statement Blocks: Choose this option to allow collapsing of block constructs such as IF and DO. You must also choose Enable Outlining.