Sublime Text snippets for Groovy Server Pages
- Total 1K
- Win 483
- Mac 294
- Linux 234
|Apr 21||Apr 20||Apr 19||Apr 18||Apr 17||Apr 16||Apr 15||Apr 14||Apr 13||Apr 12||Apr 11||Apr 10||Apr 9||Apr 8||Apr 7||Apr 6||Apr 5||Apr 4||Apr 3||Apr 2||Apr 1||Mar 31||Mar 30||Mar 29||Mar 28||Mar 27||Mar 26||Mar 25||Mar 24||Mar 23||Mar 22||Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7|
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.