https://github.com/devzstudio/sublime-snippets
Sublime Snippets
https://github.com/devzstudio/sublime-snippets
Last synced: 4 months ago
JSON representation
Sublime Snippets
- Host: GitHub
- URL: https://github.com/devzstudio/sublime-snippets
- Owner: Devzstudio
- Created: 2015-12-06T09:58:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T02:28:55.000Z (over 10 years ago)
- Last Synced: 2025-01-14T15:25:14.176Z (over 1 year ago)
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sublime-Snippets
Your time is valuable
Check out this short codes which will make your job easier.
[]( http://img.shields.io/badge/Version-1.1-green.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