Last active
February 21, 2019 17:44
-
-
Save sr2ds/f4c4f1229a791468f7b062450f3fc3d6 to your computer and use it in GitHub Desktop.
Laravel 4.2 Snippets - VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// Laravel Snippets | |
"dd": { | |
"prefix": "dd", | |
"body": "\ndump(${1:Title!});\ndie();\n", | |
"description": "Simple DD for Laravel 4.2", | |
"scope": "php" | |
}, | |
// PHP Snippets | |
"public function - PHP": { | |
"prefix": "pf", | |
"body": "\npublic function ${1:Name}(${2:param})\n{\n\n}\n", | |
"description": "Public Function default PHP", | |
"scope": "php" | |
}, | |
"protected function - PHP": { | |
"prefix": "protected function", | |
"body": "\nprotected function ${1:Name}(${2:param})\n{\n\n}\n", | |
"description": "Protected Function default PHP", | |
"scope": "php" | |
}, | |
"Controller Basic": { | |
"prefix": "Controller Basic", | |
"body": "\nprotected function ${1:Name}(${2:param})\n{\n\n}\n", | |
"description": "Basic Controller Class to Laravel", | |
"scope": "php" | |
}, | |
"Bloco de comentário Laravel": { | |
"prefix": "comm", | |
"body": [ | |
"/**", | |
"* ${1:Page Title}", | |
"* @author David Silva <https://github.com/sr2ds>", | |
"* --------------------------------------------------------------------------", | |
"* ", | |
"* ${2:Page Title}", | |
"* ", | |
"**/" | |
], | |
"description": "Bloco de comentário Laravel", | |
"scope": "php" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment