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

Naomi

by borela ST3

Sublime enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, HTML5, SCSS3, XML, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.

Details

Installs

  • Total 1K
  • Win 423
  • OS X 497
  • Linux 153
Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31
Windows 1 1 0 1 0 0 1 2 1 1 0 0 1 0 1 1 2 0 1 1 0 2 0 2 2 0 0 3 4 3 0 1 0 0 0 1 0 0 3 0 2 1 0 2 0 0
OS X 0 0 2 3 3 1 0 1 3 1 1 2 0 2 2 5 4 3 0 0 0 0 1 1 1 0 1 1 5 1 2 2 1 0 2 3 2 5 3 4 0 0 4 2 2 2
Linux 0 0 0 2 0 0 1 2 1 1 1 0 0 1 0 0 0 2 1 0 0 0 1 0 1 0 1 0 0 2 2 0 0 0 0 2 1 0 1 0 0 0 1 2 1 0

Readme

Source
raw.​githubusercontent.​com

Naomi

Sublime version License Downloads GitHub stars GitHub forks

Installation

Manual installation

Clone the repository in your Sublime Text “Packages” directory:

git clone https://github.com/borela/naomi.git Naomi

The “Packages” directory is located at:

  • OS X: ~/Library/Application Support/Sublime Text 3/Packages
  • Linux: ~/.config/sublime-text-3/Packages
  • Windows: %APPDATA%\Sublime Text 3\Packages

Installing using Package Control

  1. Install Package Control.
  2. Run Package Control: Install Package command.
  3. Find and install the Naomi plugin.
  4. Restart Sublime Text if there are issues.

Usage

  1. Go to the menu View / Syntax / Naomi / ... to select the new syntax.
  2. Select a color scheme provided in Preferences / Color Scheme / Naomi.

Notes: The recommended color scheme is Candyman which covers many of the scopes and can serve as a starting point if you want to create your own using CSScheme. Please look into the DESIGN document for a list of the available scopes and their structure.

Sublime Linter

To enable Sublime Linter with the syntaxes available, you need to:

  1. Go to the menu Preferences / Package Settings / SublimeLinter / Settings - User.
  2. Add these entries to the syntax_map:
{
  "syntax_map": {
    "naomi.fjsx15": "javascript",
    "naomi.html5": "html",
    "naomi.mql4": "mql",
    "naomi.php7": "php",
    "naomi.scss3": "scss",
    "naomi.xml1": "xml"
  }
}

Features

General

  • Auto complete asterisks in documentation blocks.
  • Add Mac’s curly quotes shortcuts for Windows and Linux:
    1. Alt+[ produces “.
    2. Alt+Shift+[ produces ”.
    3. Alt+] produces ‘.
    4. Alt+Shift+] produces ’.
  • Stable syntaxes:
    • FJSX15 (Combines ES2015+, Flow, React’s JSX).
    • JSON.
    • HTML 5.
    • SCSS3.
    • MQL4.
    • PHP 7.
    • XML 1.0.

Preview

FJSX15 (ES2015 + FlowType + React’s JSX)

Candyman FJSX15 preview 1Candyman FJSX15 preview 2