raullaasner / fortran-tags

Emacs plugin for source code indexing of modern Fortran
GNU General Public License v3.0
18 stars 2 forks source link

Fortran-tags

Emacs plugin for source code indexing of modern Fortran

Brief description

Fortran-tags is a Fortran source code indexing tool with the focus of finding the definition of any variable or procedure. It is able to correctly locate all global and local variables and is expected to work with any Fortran 2008 conforming code with some exceptions as mentioned below. Fortran-tags is designed to be used with the Emacs text editor in a Linux environment. A prerequisite for using is Python 3.

Downloading

Installation

  1. Include fortran-tags.el in your Emacs configuration file,

    (load-file "<path-to>/fortran-tags.el")

    Alternatively, if fortran-tags.el is in a standard location such as ~/.emacs.d/lisp,

    ;;(add-to-list 'load-path "~/.emacs.d/lisp")
    (require 'fortran-tags)
  2. Include fortran-tags.py in your PATH. If Emacs can't find fortran-tags.py, try

    (setenv "PATH" (concat "<dir-containing-fortran-tags.py>:" (getenv "PATH")))

Usage

Limitations

Troubleshooting

A good place to bring up any issues is https://github.com/raullaasner/fortran-tags/issues.

License

This project is distributed under the terms of the GNU General Public License, see LICENSE in the root directory of the present distribution or http://gnu.org/copyleft/gpl.txt.