Is there a way to auto indent (like ctrl+i in MATLAB) FORTRAN code in Visual Studio.
If you are using Visual Studio with the C# keyboard settings, the keyboard shortcut is Ctrl+K followed by Ctrl+F.
To get the full list of predefined shortcuts, see http://msdn.microsoft.com/en-us/library/da5kh0wa.aspx (Edit.FormatDocument
). The list has all keyboard shortcuts from Visual Studio 6 to Visual Studio 2013.