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

Silver​Stripe

by benjamin-smith ST2/ST3

Sublime Text package for working with SilverStripe templates

Details

  • 2017.12.12.19.56.30
  • github.​com
  • github.​com
  • 2 months ago
  • 15 hours ago
  • 5 years ago

Installs

  • Total 3K
  • Win 1K
  • OS X 1K
  • Linux 393
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 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11
Windows 0 1 1 0 1 1 1 0 0 0 0 0 0 1 0 2 0 1 2 0 0 0 0 0 1 0 2 0 0 0 1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 1
OS X 0 0 0 0 1 0 2 0 1 0 2 3 1 1 1 1 0 0 0 0 0 0 0 2 0 0 0 0 0 1 0 0 1 1 1 0 0 1 2 1 0 0 0 0 2 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 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text SilverStripe Package

SS versions 3.x and 2.4.x are supported. Works with Sublime Text v2/3.

Features

Screenshot of Sublime Text Silverstripe in action!

  • Syntax highlighting for .ss files
  • Highlights SS markup within HTML attributes
  • High contrast colors against surrounding HTML markup
  • Support for Emmet
  • Snippets for template files and PHP code

Installation

With Package Control (recommended):

  1. Run “Package Control: Install Package” command, find and install SilverStripe plugin.
  2. Restart Sublime Text

Snippets

Press tab after typing any of the following to generate markup:

Template files

  • if
  • ifelse
  • ifelseif
  • control
  • loop
  • with
  • include
  • ifloop
  • ifwith
  • pagination

PHP code

  • gridfieldrecordeditor
  • gridfieldrelationeditor

Credits

MUCH inspiration came from nrw's Handlebars ST2 package.