Sublime Forum

How do I fix formatting in autocompleted code snippets

#1

When using autocomplete code snippets, the formatting of the inserted code snipped uses spaces, even if the document formatting settings are for tabs.

For example, if i install the Laravel 5 Snippets package from github.com/patricksamson/laravel-5-snippets

and type Route::get I get a code block inserted that is formatted with spaces for indent.

Is there a way to change this formatting, without modifying the source files in the installed package (which will obviously break upgrades of the package)?

0 Likes