Last active
December 6, 2019 07:27
-
-
Save mattias-persson/79cb32fe531b9078582b0f91a1ebc602 to your computer and use it in GitHub Desktop.
VSCode config
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
- Advanced New File https://marketplace.visualstudio.com/items?itemName=patbenatar.advanced-new-file | |
- Auto Close Tag https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag | |
- Auto Rename Tag https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag | |
- Better PHPUnit https://marketplace.visualstudio.com/items?itemName=calebporzio.better-phpunit | |
- DotENV Syntax highlighting https://marketplace.visualstudio.com/items?itemName=mikestead.dotenv | |
- EditorConfig https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig | |
- Eslint https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint | |
- File utilshttps://marketplace.visualstudio.com/items?itemName=sleistner.vscode-fileutils | |
- Import Cost https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost | |
- Material theme https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme | |
- DocBlocker https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker | |
- Intelephense https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client | |
- PHP Namespace Resolver https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-namespace-resolver | |
- Vetur https://marketplace.visualstudio.com/items?itemName=octref.vetur | |
- PHP-CS-Fixer https://marketplace.visualstudio.com/items?itemName=fterrag.vscode-php-cs-fixer |
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
{ | |
"PHPUnit Test": { | |
"scope": "php", | |
"prefix": "test", | |
"body": [ | |
"/** @test */", | |
"public function $1()", | |
"{", | |
" $2", | |
"}", | |
] | |
}, | |
"hasMany": { | |
"scope": "php", | |
"prefix": "@hasMany", | |
"body": [ | |
"\\Illuminate\\Database\\Eloquent\\Relations\\HasMany" | |
] | |
}, | |
"belongsTo": { | |
"scope": "php", | |
"prefix": "@belongsTo", | |
"body": [ | |
"\\Illuminate\\Database\\Eloquent\\Relations\\BelongsTo" | |
] | |
}, | |
"jsonResponse": { | |
"scope": "php", | |
"prefix": "@jsonResponse", | |
"body": [ | |
"\\Illuminate\\Http\\JsonResponse" | |
] | |
}, | |
"Public method": { | |
"scope": "php", | |
"prefix": "pubf", | |
"body": [ | |
"public function $1()", | |
"{", | |
"\t$2", | |
"}" | |
], | |
"description": "A public method." | |
}, | |
"Class": { | |
"scope": "php", | |
"prefix": "class", | |
"body": [ | |
"class ${TM_FILENAME_BASE} {", | |
" $1", | |
"}" | |
], | |
"description": "A new class." | |
}, | |
"Log to console": { | |
"scope": "javascript", | |
"prefix": "clog", | |
"body": [ | |
"console.log($1);" | |
], | |
"description": "Log to console" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment