ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

GSP Snippets

by mathifonseca ALL

Sublime Text snippets for Groovy Server Pages

Details

  • 1.9.0
  • github.​com
  • github.​com
  • 10 years ago
  • 26 minutes ago
  • 10 years ago

Installs

  • Total 1K
  • Win 524
  • Mac 315
  • Linux 255
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 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Sublime Text GSP Snippets

Installation

The easiest way to get these snippets, is by using Package Control. If you already have it, you just need to search GSP Snippets and install it. In case you don't, take a look here.

Usage

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.

Triggers

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.

Fields

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.

Collaboration

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.

Contact

You can report anything using this repo's issue section.

Also, you can fork it and submit a pull request.

And in case you need a more human touch, you can contact @mathifonseca or @bToGaleotti