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

Ember Syntax

by healthsparq ST2/ST3

Ember Syntax Highlighting

Details

Installs

  • Total 3K
  • Win 849
  • OS X 1K
  • Linux 506
May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7
Windows 0 0 1 0 1 0 1 0 1 1 1 0 0 1 0 3 0 0 0 2 1 0 1 0 0 0 3 2 0 0 0 1 1 0 3 0 1 0 0 0 2 3 0 1 2 2
OS X 0 3 0 2 1 0 1 3 1 5 1 0 0 0 0 0 1 0 1 3 2 3 2 2 3 1 2 0 1 4 0 0 0 1 0 1 1 0 0 0 1 1 0 2 3 0
Linux 0 0 0 0 1 1 0 1 0 0 0 1 3 0 0 2 0 0 1 1 1 0 2 1 0 0 1 0 0 1 1 1 0 1 0 0 1 0 0 0 1 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Glimmer Syntax Highlighting

Syntax highlighting for Ember inline tagged template declarations and handlebars .hbs files! The package currently includes patterns matching htmlbars syntax only, but patterns for the new Glimmer syntax are on the way.

Screenshot

Installation:

Install with PackageControl and select Glimmer for template highlighting and JavaScript (Extended) for JS highlighting.

Emmet

Emmet autocompletions are not enabled by default for the language scopes used for handlebars. This configuration can be added to your user keybindings:

{
  "keys": ["tab"],
  "command": "expand_abbreviation_by_tab",

  // put comma-separated syntax selectors for which
  // you want to expandEmmet abbreviations into "operand" key
  // instead of SCOPE_SELECTOR.
  // Examples: source.js, text.html - source
  "context": [
    {
      "operand": "meta.source.handlebars.js",
      "operator": "equal",
      "match_all": true,
      "key": "selector"
    },

    // run only if there's no selected text
    {
      "match_all": true,
      "key": "selection_empty"
    },

    // don't work if there are active tabstops
    {
      "operator": "equal",
      "operand": false,
      "match_all": true,
      "key": "has_next_field"
    },

    // don't work if completion popup is visible and you
    // want to insert completion with Tab. If you want to
    // expand Emmet with Tab even if popup is visible --
    // remove this section
    {
      "operand": false,
      "operator": "equal",
      "match_all": true,
      "key": "auto_complete_visible"
    },
    {
      "match_all": true,
      "key": "is_abbreviation"
    }
  ]
}