Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Line Numbers

reneeculver
Principiante
807 Vistas
Is there any way to get line numbers in the editor of VS. Error messages give line number but there is nothing to refer them to.....

Renee
0 kudos
2 Respuestas
IanH
Colaborador Distinguido III
807 Vistas
Depending on your Visual Studio version, try something like menu path Tools > Options, then in the left hand pane of the resulting dialog expand and select Text editor > Fortran* > General, then on the right hand side under Display select Line numbers.

* If you want line numbers for all types of source file, then select All Languages instead of Fortran.

Note that if you double click on an error message in the output window or the error list window then the cursor (usually) gets positioned on the location of the error.
Steven_L_Intel1
Empleados
807 Vistas
What I usually do is go to the "All Languages" option, click on the checkbox for Line Numbers to clear it and then click on it again to enable it for all languages.
Responder