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 22
  • Win 18
  • OS X 4
  • Linux 0
Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4
Windows 0 0 0 0 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 1 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