Skip to content

Latest commit

 

History

History
164 lines (117 loc) · 2.26 KB

Readme.md

File metadata and controls

164 lines (117 loc) · 2.26 KB

GCSS Sublime Snippets

For Frontend Development needs

Snippets List

compass/*          // all compass snippets
css/
  comment_level1
  comment_level2
  comment_level3
  comment_level4
html/
  angular_translate
  angular_translate2
js/
  angular_translate
  angular_translate2
  comment_inline
  comment_jsdoc
  comment_level1
  comment_level2
  comment_level3
  comment_level4
less/
  comment_level1
  comment_level2
  comment_level3
  comment_level4
scss/
  class_prefix
  class_state
  comment_level1
  comment_level2
  comment_level3
  comment_level4

Demo

JavaScripts Comment Snippets

  • tabTrigger: //1
// *************************************
//
//   LEVEL 1
//   - @name NAME
//   - @desc DESCRIPTION
//   - @param PARAMS
//   - @returns RETURN
//
// *************************************
  • tabTrigger: //2
// -------------------------------------
//   LEVEL 2
// -------------------------------------
  • tabTrigger: //3
// ----- LEVEL 3 ----- //
  • tabTrigger: //4
////////////
  • tabTrigger: //inline
/*** COMMENT ***/ 
  • tabTrigger: //doc
/** 
* @name NAME
* @desc DESCRIPTION
* @param PARAMS
* @returns RETURN
*/ 

CSS / SCSS / LESS Comment Snippets

  • tabTrigger: /1
// *************************************
//
//   LEVEL 1
//   -> DESCRIPTION
//
// *************************************
  • tabTrigger: /2
// -------------------------------------
//   LEVEL 2
// -------------------------------------
  • tabTrigger: /3
// ----- LEVEL 3 ----- //
  • tabTrigger: /4
// LEVEL 4

UI Kit Snippets

  • tabTrigger: pf

scss: #{$prefix}-CLASS

html: {{styleguide.prefix}}-CLASS

  • tabTrigger: st

scss: #{$state}--STATE

html: {{styleguide.state}}--STATE

Installation

Copy folder to:

  • Mac: ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
  • Linux: ~/.config/sublime-text-3/Packages/User
  • Windows: %APPDATA%/Sublime Text 3/Packages/User

Credits

Compass Snippets by

LICENSE

GCSS Sublime Snippets is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.