tags:

views:

456

answers:

6

Can anyone recommend an editor (or an IDE) with good support for fortran ? Most newer editors I find and try lack language support for it.

+3  A: 

Slickedit has Fortran Support. I can't tell how good it is, but given the good support for other langugaes, you should give it a try.

ammoQ
I can vouch for Slickedit's Fortran capabilities. That's one slick editor.
Scottie T
+4  A: 

GNU Emacs has a major mode for FORTRAN. Use M-x fortran-mode to switch to this major mode.

I have used this mode a lot and can recommend it. I used it mostly to write a FORTRAN dialect that still requires punched card format however. Support for punched card input was my primary concern and I do not know much about other FORTRAN specific functionality of this mode.

Ludwig Weinzierl
"punched card format" ?! Do you mean fixed format ?
ldigas
Yes, fixed format as opposed to free format.
Ludwig Weinzierl
I think the answer to "Editor with X support" is always, or nearly always, emacs.
docgnome
@docgnome: So you propose sort of an autoresponder, something along the lines of:s/Editor with (good|excellent)? (\w+) support/Emacs has \2 \3 support. bla bla bla/;-)
Ludwig Weinzierl
+3  A: 

Vim has a relatively good fortran support. Maybe a little quirky with syntax highlighting, but otherwise ok.

ldigas
+2  A: 

If you're familiar with Eclipse, the Photran plugin may be what you're looking for.

  • Upside: it's free, cross-platform, and versatile and you get all the fun plugins that exist for Eclipse (SVN, etc.)
  • Downside: If you're not familiar with Eclipse, getting the build environment sorted out can be a real pain. Plus Eclipse is java-based, meaning it's bloaty, slowish, and has a crapload of options that make configuration and setup a real chore.

That said, it beats the hell out of learning either vi or emacs from scratch. Eclipse/Photran seems to work fine once you find the magic incantation to get it to compile Fortran. If you're already using make, this is a non-issue; under Windows the prospects are dicier but doable.

arclight
A: 

If you use a Mac, BBedit is very good.

gusgw
A: 

I use Ultraedit (IDM.com, ultraedit.com) daily for many types of programming (F90, javascript, DCL, HTML etc). Works well. Has good FTP support and great syntax highlighting. Have not use it in conjunction with any Windows or Linux compiler. My OS is OpenVMS.

Ransom Fitch

rlfitch