Sublime Forum

ES6+ | JSX | Flow syntax highlighting

#1

Naomi

GitHub watchers GitHub stars GitHub issues GitHub pulls GitHub forks

Package version Sublime version Platforms License Downloads

Enhanced syntax definitions for Sublime Text 3.

preview

What’s included

Color Schemes

  • Candyman;

Syntaxes

Enhanced Go To Symbol

  • Windows or Linux: Ctrl+R;
  • OSX: ⌘ + R;

go-to-symbol

OSX’s curly quotes for Windows and Linux

  • Alt+[ produces “.
  • Alt+Shift+[ produces ”.
  • Alt+] produces ‘.
  • Alt+Shift+] produces ’.

Other enhancements

  • Pressing enter between (), [], "", '' and `` will have the same
    behavior as {};

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.

Usage

After installing the plugin and restarting Sublime, it will automatically use
the syntaxes contained in this package.

You can also set them manually through:

  1. Go to the “View” menu;
  2. Then “Syntax”;
  3. Finally “Naomi”;

Or:

  1. Click at the bottom right corner where it shows the current syntax;
  2. Then “Naomi”.
1 Like

#2

Added emojis to symbols, does anybody know how to apply color to the text?

0 Likes

#3

I believe this is up to the font and system font renderer. For instance, Macs tend to use the color emoji. I think Windows has a specific color emoji font for Windows 10+, but it isn’t clear to me how to trigger that when it is a fallback font.

0 Likes