Set custom block Sublime Text 3
I would like to create a custom block, almost like the comment creates.
The small difference is that it will be tailored to my need, example: It has a standard CSS code, it automatically when I create the class, it creates the default block of sublime, as we can see in the image below:
Let's look at the arrow next to the class name, it automatically creates the block, as in the example of the image below with the block closed:
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.
1 answers
Using snippets from sublime text doesn't solve? You can create code snippets and with the trigger of some combination of letters it executes and mounts the block for vc. I use this feature a lot by programming in Ruby on Rails, where I can create some snippets of code(mostly forms) in a very agile way.