- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Renee
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
* 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page