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

WEOML Syntax

by weo-media ST3

HTML syntax supercharged to recognize WEO keys in Sublime Text 3

Labels weo, keys, syntax

Details

  • 1.3.34
  • github.​com
  • 3 weeks ago
  • 31 minutes ago
  • 7 years ago

Installs

  • Total 99
  • Win 64
  • Mac 32
  • Linux 3
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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