Set Sublime Text 3 custom block

2

I would like to create a custom block, almost as the comment creates.

The small difference is that it will be adapted to my need, eg: It has a default CSS code, it automatically when I create the class, it creates the default block of the sublime, as we can see in the image below:

Let'sseethearrownexttotheclassname,itautomaticallycreatestheblock,asintheexampleimagebelowwiththeclosedblock:

I would like to create this block, only custom to add code to that block and then be able to close it and open it.

    
asked by anonymous 23.04.2014 / 22:02

1 answer

2

Using sublime text snippets does not solve? You can create snipptes of code and with the trigger of some combination of letters he executes and mounts the block for you. I use this feature a lot by programming in Ruby on Rails, where I can create some snippets of code (mainly forms) in a very agile way.

    
24.04.2014 / 20:16