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

WEOML Syntax

by damky ST3

HTML syntax supercharged to recognize WEO keys in Sublime Text 3

Labels weo, keys, syntax

Details

Installs

  • Total 18
  • Win 15
  • OS X 3
  • Linux 0
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 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

WEOML Syntax

It's WEO keys + HTML = COLORS! We've taken HTML syntax and supercharged it to recognize WEO keys in Sublime Text 3. This package provides syntax highlighting to proprietary WEO Media “Keys” in addition to basic HTML syntax highlighting. It is derived from Sublime's standard HTML highlighting.

Other Bits

Also included… - Auto completions of all the WEO keys with corresponding parameters - Snippets for commonly used code - DearDoctor Video IDs - completions for bootstrap-tp classes

Other Packages To Install

  • sublime tutor
  • ghost text
  • bracket highlighter
  • default file type
  • color highlighter
  • text pastry

Optional

  • emmet
  • html-css-js-prettify
  • css format

Auto Completions

  1. Open the Sublime Text personal settings file:

    • Mac OS X: Sublime Text > Preferences > Settings
    • Windows: Preferences > Settings
  2. Add the following code on a new line after the first curly brace ({) :

"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_cycle": true,
"auto_complete_selector": "source, text",
"auto_complete_with_fields": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,

Default File Set Up

  1. Open a new file in sublime.
  2. paste the following:

{
"default_new_file_syntax": "WEOML.sublime-syntax",
"default_new_window_syntax": "WEOML.sublime-syntax",
"use_current_file_syntax": false
}

  1. Save as “default_file_type.sublime-settings” into the following location
    • /Packages/User/default_file_type.sublime-settings
    • to find the user packages folder
      • Mac OS X: Sublime Text > Preferences > Browse Packages
      • Windows: Preferences > Browse Packages