Sublime Text snippets for Groovy Server Pages
- Total 882
- Win 419
- OS X 268
- Linux 195
|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||Jan 10||Jan 9||Jan 8|
Sublime Text GSP Snippets
Once you have installed the snippets, the only thing you need to do is type the desired trigger and hit Tab (or whatever you have set as completion key). Also, you can press ⌘ + Space (or Ctrl + Space) to get a list of all available completions.
It's the sequence of keys you have will press to insert a snippet. For your (and our) convenience, all our snippets start with the letter g, so that you can start from there and choose from the options that the autocomplete prompts you.
As you probably already know, there are tags that have optional attributes and many other variations. We've created these snippets according to our usual needs and as you press Tab, you will navigate the fields you need to fill. But in some cases, we've added more attributes that will be highlighted so that you can press Delete if you don't need them or Tab again if you do.
We created these snippets because we got tired of copy/pasting from the Grails Guide, so most of them are just shortcuts to the default tags that are presented there. In some cases, you will find our own inventions, like the gfor, which is a
<g:each> tag with a range.
So if you think we got something wrong, have any suggestions, want to make a request or add some creation of your own, please feel free to contact us.
You can report anything using this repo's issue section.
Also, you can fork it and submit a pull request.