An open API service indexing awesome lists of open source software.

https://github.com/devzstudio/sublime-snippets

Sublime Snippets
https://github.com/devzstudio/sublime-snippets

Last synced: 4 months ago
JSON representation

Sublime Snippets

Awesome Lists containing this project

README

          

# Sublime-Snippets
Your time is valuable

Check out this short codes which will make your job easier.

[![Build Status](http://img.shields.io/badge/Version-1.1-green.svg)]( http://img.shields.io/badge/Version-1.1-green.svg ) Donate [![License](http://img.shields.io/badge/License-MIT-lightgrey.svg)](http://img.shields.io/badge/License-MIT-lightgrey.svg)

# Installation

1) Download the zip file

2) Extract the zip file

3) Place the folder into

`C:\Users\Devzstudio\AppData\Roaming\Sublime Text 3\Packages\User`

# Usage

Enter the shortcode and press Tab.

# HTML Snippets

Button

`btn-p` Primary Button

`btn-s` Success Button

`btn-da` Danger Button

`btn-se` Secondary Button

`btn-w` Warning Button

`btn-p-l` Primary Large button

`btn-p-s` Prminary Small button

`btn-p-b` Primary Block button

`btn-da-l` Danger Large button

`btn-da-s` Danger Small button

`btn-da-b` Danger Block button

`btn-w-l` Warning Large button

`btn-w-s` Warning Small button

`btn-w-b` Warning Block button

Similarly you can use success button , secondary button with

`-l` Large

`-b ` Block

`-s` Small

Eg : `btn-s-l`

Input

`in:txt` Text Field

`in:radio` Radio button

`in:check` Check button

`in:url` URL Input Field

`in:email` Email Input Field

`in:color` Color Choose Input

`in:date` Date Select

`in:time` Time Select

`in:dt` Date & Time Select

`in:month` Month Select

`in:week` Week Select

`in:submit` Input Submit

`in:pass` Password Field

`in:search` Search Field

`in:num` Number Field

Other

`list` Generate ul and li tags

`card-text` Bootstrap card with text

`card-img` Bootstrap card with image and text

`Table` Generate table with 3 column and 1 rows

`Style` Link external stylesheet easily

# PHP

`cls` Create a new class

`_c` New constructor

`met` New public method

`pmet` New Protected method

# Laravel

`rop` Route::post

`rog` Route::get

`roa` Route::any

`ror` Route::resource

`ext` extends blade

`yie` Yield in blade

`sec` New section

`if:` if in blade

`if:else` if..else in blade

`foreach:` foreach in blade

`inc` include blade file

`form:open` Form open

`form:` Creates a text field

`form:textarea` Creates a textarea

`form:submit` Form submit button

`form:select` Form selectbox

`form:close` Form close
`rev` Return view

`revc` Return view with compact

# CDN

`cdn-bs3` Add Bootstrap 3 Stylesheets

`cdn-bs3js` Add Bootstrap 3 Javascript

`cdn-jquery` Add Jquery

`cdn-fa` Add Font-awesome