1

Is there a way in Sublime to generate a PHP snippets?

Like in VIM, you would use SnipMate

For example, in C, typing

for<tab> 

could be expanded to

for (i = 0; i < count; i++) {
    /* code */
}
2
  • 1
    Check out their docs Commented Sep 9, 2014 at 12:21
  • ^ which is literally the first result when googling "sublime text snippets." Come on, people! Commented Sep 9, 2014 at 14:52

1 Answer 1

1

Isntall Sublime Package Control: https://sublime.wbond.net/installation

Then install a snippet manager: https://github.com/csch0/SublimeText-Sublime-Text-3-Snippets

Sign up to request clarification or add additional context in comments.

1 Comment

The snippet manager @tim links to is to help write Sublime3 plugins. Search wbond.net for actual PHP snippets that can be installed and used: sublime.wbond.net/search/php%20snippet

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.