S
S
suregood2015-09-23 15:25:18
Sublime Text
suregood, 2015-09-23 15:25:18

How to change autocomplete template in sublime text 3?

Hello.
When writing code, auto-completion options appear.
For example, if I start typing foreach in php, then the proposed option will add the following code:

foreach ($variable as $key => $value) {
  # code...
}

And I want it to substitute the following code (without # code and I could immediately write further without deleting an extra comment):
foreach ($variable as $key => $value) {
    
}

How is this possible and is it possible at all? That is, change an already existing autocomplete template.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2015-09-23
@Taraflex

Sublime3083\Packages\PHP.sublime-package
Open in any archiver
and change the file foreach(-).sublime-snippet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question