ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Modern​Fortran

Sublime Text 3 language syntax for highlighting of modern Fortran (Fortran 90 and newer)

Details

Installs

  • Total 239
  • Win 105
  • Mac 42
  • Linux 92
Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18
Windows 1 5 0 3 4 1 1 3 8 2 4 0 1 0 2 2 2 2 1 0 1 2 2 4 1 2 1 3 1 2 2 2 2 3 1 4 9 7 6 2 1 5 2 2 2 2
Mac 0 2 1 0 3 1 1 0 1 1 0 2 1 2 2 3 0 0 0 0 3 0 1 1 2 0 0 2 0 4 2 0 1 1 0 4 1 1 1 0 1 1 0 0 0 1
Linux 1 4 3 8 2 1 1 0 2 2 1 1 1 3 3 1 3 3 2 3 2 4 1 2 2 1 0 3 3 5 2 1 0 0 1 2 2 4 5 0 0 2 3 5 2 0

Readme

Source
raw.​githubusercontent.​com

Syntax Tests GitHub release (latest SemVer) Package Control

Modern-Fortran syntax

Modern-Fortran is a Sublime Text 3 language syntax for highlighting of Fortran code. It highlights modern Fortran (Fortran 90 and newer) and incorporates features introduced in Fortran 2003, 2008, and 2018.

Installation via Package Control

The easiest way to get the syntax is to install the package ModernFortran with Package Control.

After installation, you can enable the syntax with ctrl+shift+p (cmd+shift+p on Mac) followed by Set syntax: Modern-Fortran.

Manual installation from source

The syntax can also be installed manually. Open the terminal and navigate to where packages are installed:

# Default location on Ubuntu
cd /home/username/.config/sublime-text-3/Packages

The location on your computer can be found via Preferences -> Browse packages.... Next, clone the repository:

git clone https://github.com/eirik-kjonstad/modern-fortran-syntax.git

Alternatively, you can download the source code as a .zip and extract the contents in the Packages folder.

Notice bugs, missing features, or other problems?

Do not hesitate to post an issue in the issues tab on the repository! If you wish to contribute, we also welcome pull requests. Please fork the repository and open a pull request with your suggested modifications.