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

Naomi

by borela ST3

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

Details

Installs

  • Total 929
  • Win 381
  • OS X 418
  • Linux 130
Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 0 1 3 1 1 0 2 1 0 0 0 1 1 1 4 1 0 3 3 2 1 5 3 1 1 0 1 2 2 2 3 4 0 0 2 3 5 2 0 1 1 1 1 1 1 1
OS X 1 0 1 1 1 3 1 0 3 0 0 0 0 1 1 1 1 0 1 1 0 1 3 2 1 0 1 1 4 2 1 3 1 2 3 6 0 0 2 1 1 1 1 0 0 3
Linux 1 0 0 0 1 0 0 0 0 2 1 0 0 0 1 0 0 0 0 1 1 1 0 1 1 0 0 0 0 0 0 2 0 2 1 2 2 1 0 0 0 0 2 0 0 0

Readme

Source
raw.​githubusercontent.​com

Naomi

Sublime version License

Installation

Manual installation (Recommended if you want faster updates)

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