Set Sublime Text custom block 3

Asked

Viewed 165 times

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, example: It has a standard CSS code, it automatically when I create the class, it creates the default sublime block, as we can see in the image below:

Extend line

Let’s see the arrow next to the class name, it automatically creates the block, as in the image example below with the closed block:

Extend Line 2

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

  • 1

    I don’t know if I understood correctly what you want, but maybe the plugin Regreplace with a mark override can help.

1 answer

2

The use of snippets sublime text does not resolve? You can create code snippts and with the trigger some combination of letters it executes and assembles the block for vc. I use this feature a lot in Ruby on Rails, where I can create some excerpts of code (mainly forms) in a very agile way.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.