Sublime Forum

Adding spaces for blade directive

#1

Hi, how to make a simple plugin that add spaces for blade directive. For example, when I enter two curly braces {{, then it would become {{ | }} where the | is the cursor position. It also need to check if it’s a .blade.php file then only execute.

0 Likes

#2

Laravel Blade Spacer does that.

0 Likes