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

Modern​Fortran

Modern Fortran syntax highlighting for Sublime Text 3/4

Details

Installs

  • Total 2K
  • Win 956
  • Mac 426
  • Linux 701
Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5
Windows 1 2 3 1 0 2 5 5 2 1 4 6 13 3 0 4 4 1 4 0 2 2 0 1 3 0 2 4 2 6 1 1 4 5 6 3 3 7 3 0 4 3 5 8 1 2
Mac 3 1 3 0 1 2 1 1 3 4 1 1 3 1 2 6 2 2 1 1 2 0 1 1 2 0 0 2 4 1 1 2 0 2 2 0 0 2 0 1 2 1 4 1 1 2
Linux 2 4 3 4 0 2 4 8 1 2 0 0 1 1 2 0 4 0 0 1 0 2 0 1 2 1 4 4 1 7 4 4 1 3 1 2 4 3 1 2 5 2 5 2 1 2

Readme

Source
raw.​githubusercontent.​com

Syntax Tests GitHub release (latest SemVer) Package Control

Modern-Fortran syntax

Modern-Fortran is a Sublime Text 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/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.