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
Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6
Windows 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
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