Sublime Text snippets for Groovy Server Pages
- Total 916
- Win 434
- OS X 276
- Linux 206
|Aug 18||Aug 17||Aug 16||Aug 15||Aug 14||Aug 13||Aug 12||Aug 11||Aug 10||Aug 9||Aug 8||Aug 7||Aug 6||Aug 5||Aug 4||Aug 3||Aug 2||Aug 1||Jul 31||Jul 30||Jul 29||Jul 28||Jul 27||Jul 26||Jul 25||Jul 24||Jul 23||Jul 22||Jul 21||Jul 20||Jul 19||Jul 18||Jul 17||Jul 16||Jul 15||Jul 14||Jul 13||Jul 12||Jul 11||Jul 10||Jul 9||Jul 8||Jul 7||Jul 6||Jul 5||Jul 4|
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.