Difference between revisions of "Fortran syntax highlighting"

From VSI OpenVMS Wiki
Jump to: navigation, search
Line 6: Line 6:
 
|style="vertical-align:top; padding-left: 20px;" |
 
|style="vertical-align:top; padding-left: 20px;" |
  
'''Features'''
+
===Features===
* Autocomplete
+
; Autocomplete : Code autocompletion helps you write valid code in a more efficient way.
Autocomplete shows you code completion, hover info, and signature information so that you can write code more quickly and correctly.
+
; Error checking : Checks syntax errors in real-time.
 +
; Jump to definition (variables, routines) : Code navigation lets you quickly navigate Fortran projects (context menu).
 +
:* Go to Definition (<code>F12</code>) - Go to the source code of a symbol definition.
 +
:* Peek Definition (<code>Alt+F12</code>) - Bring up a Peek window that shows the definition of a symbol.
 +
:* Peek References (<code>Shift+F12</code>) - Bring up a Peek window that shows all references to a symbol.
 +
:* Find All References (<code>Shift+Alt+F12</code>) - Show all references to a symbol.
  
* Error checking
+
; Rename (variables, routines) : Rename feature lets you quickly rename symbols in Fortran projects (context menu).
Check syntax errors in real time.
+
: Press <code>F2</code> to rename the symbol under the cursor across your Fortran project.
  
* Jump to definition (variables, routines)
+
; Hover information : Hover over a Fortran symbol to quickly see its type information.  
Code navigation lets you quickly navigate Fortran projects (context menu).
+
: You can also show the hover info at the current cursor position with the <code>Ctrl+K Ctrl+I</code> keyboard shortcut.
Go to Definition F12 - Go to the source code of a symbol definition.
 
Peek Definition Alt+F12 - Bring up a Peek window that shows the definition of a symbol.
 
Peek References Shift+F12 - Bring up a Peek window that shows all references to a symbol.
 
Find All References Shift+Alt+F12 - Show all references to a symbol.
 
 
 
* Rename (variables, routines)
 
Rename feature lets you quickly rename symbols Fortran projects (context menu).
 
Press F2 to rename the symbol under the cursor across your Fortran project.
 
 
 
* Hover information
 
Hover over a Fortran symbol to quickly see its type information.
 
You can also show the hover info at the current cursor position with the Ctrl+K Ctrl+I keyboard shortcut.
 
  
 
|}
 
|}
  
 
[[Category: VMS IDE]]
 
[[Category: VMS IDE]]

Revision as of 07:34, 20 November 2019

VMS IDE supports syntax highlighting for Fortran.

Fortran-syntax-example
Syntax check

Features

Autocomplete 
Code autocompletion helps you write valid code in a more efficient way.
Error checking 
Checks syntax errors in real-time.
Jump to definition (variables, routines) 
Code navigation lets you quickly navigate Fortran projects (context menu).
  • Go to Definition (F12) - Go to the source code of a symbol definition.
  • Peek Definition (Alt+F12) - Bring up a Peek window that shows the definition of a symbol.
  • Peek References (Shift+F12) - Bring up a Peek window that shows all references to a symbol.
  • Find All References (Shift+Alt+F12) - Show all references to a symbol.
Rename (variables, routines) 
Rename feature lets you quickly rename symbols in Fortran projects (context menu).
Press F2 to rename the symbol under the cursor across your Fortran project.
Hover information 
Hover over a Fortran symbol to quickly see its type information.
You can also show the hover info at the current cursor position with the Ctrl+K Ctrl+I keyboard shortcut.