All Projects β†’ SublimeText β†’ SaneSnippets

SublimeText / SaneSnippets

Licence: other
Sublime Text snippets optimized for humans, not robots

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SaneSnippets

Sublimecodeintel
πŸ’‘ Full-featured code intelligence and smart autocomplete for Sublime Text
Stars: ✭ 5,050 (+8459.32%)
Mutual labels:  snippets, sublime-text
Sublime Robot Framework Assistant
Robot Framework plugin for Sublime Text3
Stars: ✭ 103 (+74.58%)
Mutual labels:  snippets, sublime-text
Pawn Sublime Language
Pawn language settings for Sublime Text 3. Copied from C++ but with Pawn language and SA:MP specific modifications.
Stars: ✭ 26 (-55.93%)
Mutual labels:  snippets, sublime-text
Coffeescript Sublime Plugin
Syntax highlighting and checking, commands, shortcuts, snippets, compilation and more.
Stars: ✭ 296 (+401.69%)
Mutual labels:  snippets, sublime-text
simple-ftp-deploy
This package for Sublime Text 3 give you possibility to auto upload file to FTP server when you save local file.
Stars: ✭ 16 (-72.88%)
Mutual labels:  sublime-text, sublime-text-plugin
Packagedev
Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
Stars: ✭ 378 (+540.68%)
Mutual labels:  snippets, sublime-text
Vuejs Snippets Sublime
Vuejs Snippets for Sublime Text
Stars: ✭ 70 (+18.64%)
Mutual labels:  snippets, sublime-text
network tech
Cisco config syntax and snippets for Sublime Text
Stars: ✭ 82 (+38.98%)
Mutual labels:  snippets, sublime-text
sublime-import-helper
A Sublime Text Plugin that helps you to import your modules.
Stars: ✭ 69 (+16.95%)
Mutual labels:  sublime-text, sublime-text-plugin
Comment Snippets
Sublime Text snippets to create fancy PHP, CSS and HTML comments.
Stars: ✭ 142 (+140.68%)
Mutual labels:  snippets, sublime-text
React Native Snippets
✏️ A collection of React Native snippets for Sublime Text and Atom
Stars: ✭ 257 (+335.59%)
Mutual labels:  snippets, sublime-text
sublime-angular-material-snippets
Angular Material Design snippets plugin for Sublime Text 2/3
Stars: ✭ 25 (-57.63%)
Mutual labels:  snippets, sublime-text
GDL-sublime
πŸ“ A Sublime Text package for the programming language GDL (Geometric Description Language)
Stars: ✭ 25 (-57.63%)
Mutual labels:  snippets, sublime-text
Sublime Rails Snippets
Sublime Text snippets for the latest Ruby and Rails versions
Stars: ✭ 406 (+588.14%)
Mutual labels:  snippets, sublime-text
opentype-feature-bundle
Syntax highlighting and snippets for OpenType feature development in TextMate/Sublime Text
Stars: ✭ 35 (-40.68%)
Mutual labels:  snippets, sublime-text
Sublime Ava
Snippets for AVA
Stars: ✭ 41 (-30.51%)
Mutual labels:  snippets, sublime-text
sublime-PICO-8
PICO-8 plugin for the Sublime Text 3 editor.
Stars: ✭ 42 (-28.81%)
Mutual labels:  snippets, sublime-text
github markdown snippets
GitHub flavored Markdown with plain'ol HTML knowledge! Boom!
Stars: ✭ 23 (-61.02%)
Mutual labels:  snippets, sublime-text
Laravel 5 Snippets
Laravel 5 Snippets for Sublime Text
Stars: ✭ 110 (+86.44%)
Mutual labels:  snippets, sublime-text
zurb-ink-sublime-snippets
ZURB Ink Sublime Snippets
Stars: ✭ 25 (-57.63%)
Mutual labels:  snippets, sublime-text

SaneSnippets for Sublime Text

SaneSnippets consist of text files with little bit of YAML front matter. They're optimized for human readability, not XML parsers:

---
description: Lorizzle
tabTrigger:  lorizzle
scope:       text.plain
---
Lorizzle sure dolizzle sit amizzle, pot adipiscing shizznit. Nullizzle check
out this velit, fo shizzle volutpizzle, suscipit quizzle, doggy vizzle,
yippiyo. Pellentesque tellivizzle tortizzle. Sizzle erizzle. Mah nizzle
izzle shizzle my nizzle crocodizzle sizzle dang tempizzle bizzle. Maurizzle
pellentesque nibh et turpizzle. Shiz izzle gizzle. Pellentesque nizzle
rhoncus i saw beyonces tizzles and my pizzle went crizzle. In daahng dawg
habitasse cool boom shackalack. Brizzle dapibizzle. Curabitur nizzle
pimpin', pretizzle da bomb, mattizzle ac, eleifend vitae, nunc. Mofo
suscipizzle. We gonna chung sempizzle go to hizzle phat gizzle.

... because nobody likes hand-coding XML.

To use, add .sane-snippet files to any Sublime Text package. I personally keep them in User/Snippets.

Installation

Using Sublime Package Control

Pick this option. Install via Package Control, using the Package Control: Install Package menu item. Look for SaneSnippets in the package list.

Using Git

Clone SaneSnippets into your Packages directory:

$ cd to packages dir ...
git clone https://github.com/SublimeText/SaneSnippets.git

Download manually

  1. Download the latest version
  2. Unzip and rename the folder to SaneSnippets
  3. Move the folder into your Packages directory.

The Packages directory is located at:

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

You can also find it via Preferences β†’ Browse Packages.

Usage

Create .sane-snippet files anywhere in your Sublime Text Packages directory. SaneSnippets (sane.sublime-snippet) will be regenerated every time you start Sublime Text and their contents have changed. When you save a .sane-snippet file using Sublime Text, it will always be regenerated.

You can manually regenerate all SaneSnippets in the whole packages directory with the SaneSnippets: Regenerate SaneSnippets (force) command from the command palette (Ctrl+Shift+p, Command+Shift+p) or the menu (Tools > Packages > SaneSnippets > Regenerate SaneSnippets (force)). This will be useful when renaming or moving SaneSnippets.

You can also remove all generated snippets files with the SaneSnippets: Remove all compiled snippets command, for example when you intend to uninstall the package. They will be automatically regenerated the next time ST is started.

Note: The YAML front matter parsing is using a naΓ―ve regular expression instead of a proper YAML parser. Please keep it simple.

Contributors

License

Copyright (c) 2011 Justin Hileman Copyright (c) 2012-2020 FichteFoll [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].