Last active
September 15, 2020 00:58
-
-
Save ahmedsayedabdelsalam/924cb145305a30ca85ef44873da82fda to your computer and use it in GitHub Desktop.
code95-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
{"lastUpload":"2020-09-15T00:58:07.652Z","extensionVersion":"v3.4.3"} |
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
[ | |
{ | |
"metadata": { | |
"id": "2cbad5ee-b4ab-4de8-a1c7-77fede846155", | |
"publisherId": "patbenatar.advanced-new-file", | |
"publisherDisplayName": "patbenatar" | |
}, | |
"name": "advanced-new-file", | |
"publisher": "patbenatar", | |
"version": "1.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "2a658c1b-308a-41e8-805a-fc8abda483bc", | |
"publisherId": "thekalinga.bootstrap4-vscode", | |
"publisherDisplayName": "thekalinga" | |
}, | |
"name": "bootstrap4-vscode", | |
"publisher": "thekalinga", | |
"version": "6.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a", | |
"publisherId": "CoenraadS.bracket-pair-colorizer-2", | |
"publisherDisplayName": "CoenraadS" | |
}, | |
"name": "bracket-pair-colorizer-2", | |
"publisher": "CoenraadS", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e040918e-a5fa-407c-b0af-607287357259", | |
"publisherId": "Sujan.code-blue", | |
"publisherDisplayName": "Sujan" | |
}, | |
"name": "code-blue", | |
"publisher": "Sujan", | |
"version": "0.9.12" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7", | |
"publisherId": "streetsidesoftware.code-spell-checker", | |
"publisherDisplayName": "streetsidesoftware" | |
}, | |
"name": "code-spell-checker", | |
"publisher": "streetsidesoftware", | |
"version": "1.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2", | |
"publisherId": "ms-vscode.cpptools", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "cpptools", | |
"publisher": "ms-vscode", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9d4df0af-1098-4de3-bb2b-daf98fd735e7", | |
"publisherId": "sporiley.css-auto-prefix", | |
"publisherDisplayName": "sporiley" | |
}, | |
"name": "css-auto-prefix", | |
"publisher": "sporiley", | |
"version": "0.1.7" | |
}, | |
{ | |
"metadata": { | |
"id": "bff91732-0f11-4501-87f6-a9d2e4fad86e", | |
"publisherId": "alexanderte.dainty-vscode", | |
"publisherDisplayName": "alexanderte" | |
}, | |
"name": "dainty-vscode", | |
"publisher": "alexanderte", | |
"version": "1.1.22" | |
}, | |
{ | |
"metadata": { | |
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "17d45560-0c70-4fb6-b157-9ecc85d8e5a0", | |
"publisherId": "inu1255.easy-snippet", | |
"publisherDisplayName": "inu1255" | |
}, | |
"name": "easy-snippet", | |
"publisher": "inu1255", | |
"version": "0.6.2" | |
}, | |
{ | |
"metadata": { | |
"id": "081cd2e9-bc51-4ea3-977e-544bed2e33a8", | |
"publisherId": "bierner.emojisense", | |
"publisherDisplayName": "bierner" | |
}, | |
"name": "emojisense", | |
"publisher": "bierner", | |
"version": "0.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "10.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "3b58a227-618a-4b57-a06b-6984a2a8d1ba", | |
"publisherId": "onecentlin.laravel-blade", | |
"publisherDisplayName": "onecentlin" | |
}, | |
"name": "laravel-blade", | |
"publisher": "onecentlin", | |
"version": "1.24.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1c1f5aa-1a7a-41ee-8710-3db3c3862f5e", | |
"publisherId": "mohamedbenhida.laravel-intellisense", | |
"publisherDisplayName": "mohamedbenhida" | |
}, | |
"name": "laravel-intellisense", | |
"publisher": "mohamedbenhida", | |
"version": "0.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "9faed35e-46bf-4720-896f-8244928b6598", | |
"publisherId": "freshbitsweb.laravel-traveller", | |
"publisherDisplayName": "freshbitsweb" | |
}, | |
"name": "laravel-traveller", | |
"publisher": "freshbitsweb", | |
"version": "1.10.0" | |
}, | |
{ | |
"metadata": { | |
"id": "050d4900-7979-4d10-b7aa-e274f6ae8730", | |
"publisherId": "onecentlin.laravel5-snippets", | |
"publisherDisplayName": "onecentlin" | |
}, | |
"name": "laravel5-snippets", | |
"publisher": "onecentlin", | |
"version": "1.10.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7f147721-ec06-4043-9e37-c9ffbecbccd1", | |
"publisherId": "whizkydee.material-palenight-theme", | |
"publisherDisplayName": "whizkydee" | |
}, | |
"name": "material-palenight-theme", | |
"publisher": "whizkydee", | |
"version": "2.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ce071f60-714c-4351-854a-2a1d33f1e357", | |
"publisherId": "felipe.nasc-touchbar", | |
"publisherDisplayName": "felipe" | |
}, | |
"name": "nasc-touchbar", | |
"publisher": "felipe", | |
"version": "1.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "044b4b31-2969-4af3-895d-855433b8b46d", | |
"publisherId": "felixfbecker.php-debug", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-debug", | |
"publisher": "felixfbecker", | |
"version": "1.13.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ca0094fa-0dc7-4847-ae5d-879442c099ca", | |
"publisherId": "neilbrayfield.php-docblocker", | |
"publisherDisplayName": "neilbrayfield" | |
}, | |
"name": "php-docblocker", | |
"publisher": "neilbrayfield", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d80b9a94-f4a6-4e39-bc42-62212e365682", | |
"publisherId": "pnp.polacode", | |
"publisherDisplayName": "pnp" | |
}, | |
"name": "polacode", | |
"publisher": "pnp", | |
"version": "0.3.4" | |
}, | |
{ | |
"metadata": { | |
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347", | |
"publisherId": "alefragnani.project-manager", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "project-manager", | |
"publisher": "alefragnani", | |
"version": "11.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "797a79de-a0fd-4349-9034-bec47be9a941", | |
"publisherId": "2gua.rainbow-brackets", | |
"publisherDisplayName": "2gua" | |
}, | |
"name": "rainbow-brackets", | |
"publisher": "2gua", | |
"version": "0.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5", | |
"publisherId": "humao.rest-client", | |
"publisherDisplayName": "humao" | |
}, | |
"name": "rest-client", | |
"publisher": "humao", | |
"version": "0.24.2" | |
}, | |
{ | |
"metadata": { | |
"id": "488094c1-ed52-4aa6-be5b-27b30a2eba06", | |
"publisherId": "sadeghpm.sql-snippets", | |
"publisherDisplayName": "sadeghpm" | |
}, | |
"name": "sql-snippets", | |
"publisher": "sadeghpm", | |
"version": "0.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.27.3" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.16.0" | |
}, | |
{ | |
"metadata": { | |
"id": "484d897a-6711-403c-ab54-a96f12be5833", | |
"publisherId": "Equinusocio.vsc-community-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-community-material-theme", | |
"publisher": "Equinusocio", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260", | |
"publisherId": "Equinusocio.vsc-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-material-theme", | |
"publisher": "Equinusocio", | |
"version": "33.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113", | |
"publisherId": "equinusocio.vsc-material-theme-icons", | |
"publisherDisplayName": "equinusocio" | |
}, | |
"name": "vsc-material-theme-icons", | |
"publisher": "equinusocio", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "1.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ea6a6046-2132-421f-a984-664909fcf0b8", | |
"publisherId": "hediet.vscode-drawio", | |
"publisherDisplayName": "hediet" | |
}, | |
"name": "vscode-drawio", | |
"publisher": "hediet", | |
"version": "0.7.2" | |
}, | |
{ | |
"metadata": { | |
"id": "aaee577c-f062-495a-9816-0cbd442f1d25", | |
"publisherId": "ecmel.vscode-html-css", | |
"publisherDisplayName": "ecmel" | |
}, | |
"name": "vscode-html-css", | |
"publisher": "ecmel", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0", | |
"publisherId": "bmewburn.vscode-intelephense-client", | |
"publisherDisplayName": "bmewburn" | |
}, | |
"name": "vscode-intelephense-client", | |
"publisher": "bmewburn", | |
"version": "1.5.4" | |
}, | |
{ | |
"metadata": { | |
"id": "66682185-9f80-4b70-8b8c-9e492935c105", | |
"publisherId": "LeetCode.vscode-leetcode", | |
"publisherDisplayName": "LeetCode" | |
}, | |
"name": "vscode-leetcode", | |
"publisher": "LeetCode", | |
"version": "0.17.0" | |
}, | |
{ | |
"metadata": { | |
"id": "c0fde3ce-39d4-4ea8-89ce-e2a202eeacaf", | |
"publisherId": "cweijan.vscode-mysql-client2", | |
"publisherDisplayName": "cweijan" | |
}, | |
"name": "vscode-mysql-client2", | |
"publisher": "cweijan", | |
"version": "2.5.6" | |
}, | |
{ | |
"metadata": { | |
"id": "c3d3e8fb-c61d-4edf-8fb8-32298bc763f9", | |
"publisherId": "hangxingliu.vscode-nginx-conf-hint", | |
"publisherDisplayName": "hangxingliu" | |
}, | |
"name": "vscode-nginx-conf-hint", | |
"publisher": "hangxingliu", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4297bbe6-97c8-4ffa-b133-37a31f971277", | |
"publisherId": "extr0py.vscode-relative-line-numbers", | |
"publisherDisplayName": "extr0py" | |
}, | |
"name": "vscode-relative-line-numbers", | |
"publisher": "extr0py", | |
"version": "0.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "01708053-6fab-403f-9787-9d5f3d8f7d6a", | |
"publisherId": "sibiraj-s.vscode-scss-formatter", | |
"publisherDisplayName": "sibiraj-s" | |
}, | |
"name": "vscode-scss-formatter", | |
"publisher": "sibiraj-s", | |
"version": "2.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "b476195a-5d3b-4a10-af0b-3d94f9c9f924", | |
"publisherId": "yatki.vscode-surround", | |
"publisherDisplayName": "yatki" | |
}, | |
"name": "vscode-surround", | |
"publisher": "yatki", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "4db62a7c-7d70-419c-96d2-6c3a4dc77ea5", | |
"publisherId": "bradlc.vscode-tailwindcss", | |
"publisherDisplayName": "bradlc" | |
}, | |
"name": "vscode-tailwindcss", | |
"publisher": "bradlc", | |
"version": "0.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "b84ed643-ec7d-49cc-a514-3ce104ed777f", | |
"publisherId": "Hyzeta.vscode-theme-github-light", | |
"publisherDisplayName": "Hyzeta" | |
}, | |
"name": "vscode-theme-github-light", | |
"publisher": "Hyzeta", | |
"version": "7.14.2" | |
}, | |
{ | |
"metadata": { | |
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9", | |
"publisherId": "wayou.vscode-todo-highlight", | |
"publisherDisplayName": "wayou" | |
}, | |
"name": "vscode-todo-highlight", | |
"publisher": "wayou", | |
"version": "1.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.2740" | |
}, | |
{ | |
"metadata": { | |
"id": "3620b114-6fe8-459b-8c68-99943147069b", | |
"publisherId": "hollowtree.vue-snippets", | |
"publisherDisplayName": "hollowtree" | |
}, | |
"name": "vue-snippets", | |
"publisher": "hollowtree", | |
"version": "0.1.12" | |
} | |
] |
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
{"version":"1.2.0"} |
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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "cmd+;", | |
"command": "extension.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+e", | |
"command": "-extension.expand", | |
"when": "editorTextFocus" | |
} | |
] |
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
{ | |
"sync.gist": "924cb145305a30ca85ef44873da82fda", | |
"scssFormatter.tabWidth": 2, | |
"editor.formatOnSaveTimeout": 5000, | |
"vetur.format.options.tabSize": 2, | |
"explorer.openEditors.visible": 0, | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.iconTheme": "material-icon-theme", | |
"[javascript]": { | |
"editor.detectIndentation": false, | |
"editor.tabSize": 2 | |
}, | |
"editor.lineHeight": 25, | |
"sync.autoUpload": false, | |
"sync.forceUpload": true, | |
"files.autoSave": "onFocusChange", | |
"search.useIgnoreFiles": false, | |
"editor.minimap.enabled": false, | |
"cSpell.userWords": [ | |
"Laravel", | |
"predis", | |
"sslmode" | |
], | |
"material-icon-theme.folders.theme": "specific", | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace", | |
"window.zoomLevel": 0, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": [ | |
"j", | |
"j" | |
], | |
"after": [ | |
"<Esc>" | |
] | |
} | |
], | |
"breadcrumbs.enabled": true, | |
"workbench.editor.showTabs": false, | |
"workbench.activityBar.visible": true, | |
"editor.formatOnSave": true, | |
"vscode-mysql.resultTheme": "Dark", | |
"workbench.colorTheme": "Code Blue", | |
"leetcode.defaultLanguage": "javascript", | |
"leetcode.workspaceFolder": "/Users/ahmed/.leetcode", | |
"leetcode.hint.configWebviewMarkdown": false, | |
"leetcode.hint.commentDescription": false, | |
"leetcode.hint.commandShortcut": false | |
} |
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
{ | |
// Place your snippets for json here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
} |
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
{ | |
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
"laravel controller constructor": { | |
"prefix": "lacon", | |
"body": [ | |
"public $${2:model_service};", | |
"", | |
"/**", | |
" * constructor", | |
" *", | |
" * @param ${1:DomainModelService} $${2:model_service}", | |
" */", | |
"public function __construct(${1:DomainModelService} $${2:model_service})", | |
"{", | |
" \\$this->${2:model_service} = $${2:model_service};", | |
"}" | |
], | |
"description": "laravel controller constructor" | |
}, | |
"laravel controller index": { | |
"prefix": "laind", | |
"body": [ | |
"/**", | |
" * lists all the ${3:models}", | |
" *", | |
" * @return void", | |
" */", | |
"public function index()", | |
"{", | |
" return view('${1:domain}.${2:model}.index');", | |
"}" | |
], | |
"description": "laravel controller index" | |
}, | |
"laravel controller get json data": { | |
"prefix": "lajson", | |
"body": [ | |
"/**", | |
" * lists all ${3:models} as json", | |
" *", | |
" * @return void", | |
" */", | |
"public function getJson()", | |
"{", | |
" return ${1:DomainModelIndexResource}::collection(", | |
" \\$this->${2:model_service}->fetchRecords()->paginate()", | |
" );", | |
"}" | |
], | |
"description": "laravel controller get json data" | |
}, | |
"laravel controller create method": { | |
"prefix": "lacreate", | |
"body": [ | |
"/**", | |
" * create ${2:model} view", | |
" *", | |
" * @param Request \\$request", | |
" * @return void", | |
" */", | |
"public function create(Request \\$request)", | |
"{", | |
" return view('${1:domain}.${2:model}.create', [", | |
" 'options' => array_merge(", | |
" admin_create_form_options(class_basename(${3:Model}::class)),", | |
" [", | |
" $4", | |
" ]", | |
" )", | |
" ]);", | |
"}" | |
], | |
"description": "laravel controller create method" | |
}, | |
"laravel controller store method": { | |
"prefix": "lastore", | |
"body": [ | |
"/**", | |
" * presist ${3:model} in database", | |
" *", | |
" * @param ${1:Rquest} \\$request", | |
" * @return void", | |
" */", | |
"public function store(${1:Rquest} \\$request)", | |
"{", | |
" return response()->json([", | |
" 'data' => \\$this->${2:model_service}->create(\\$request)", | |
" ]);", | |
"}" | |
], | |
"description": "laravel controller store method" | |
}, | |
"laravel controller toggle status method": { | |
"prefix": "latogst", | |
"body": [ | |
"/**", | |
" * toggle activity status", | |
" *", | |
" * @param ${1:Model} $${2:model}", | |
" * @return void", | |
" */", | |
"public function toggleStatus(${1:Model} $${2:model})", | |
"{", | |
" return \\$this->${3:model_service}->toggleStatus($${2:model});", | |
"}" | |
], | |
"description": "laravel controller toggle status method" | |
}, | |
"laravel controller edit method": { | |
"prefix": "laedit", | |
"body": [ | |
"/**", | |
" * edit ${2:model} view", | |
" *", | |
" * @param ${1:Model} $${2:model}", | |
" * @return void", | |
" */", | |
"public function edit(${1:Model} $${2:model})", | |
"{", | |
" return view('${3:domain}.${2:model}.edit', [", | |
" 'options' => array_merge(", | |
" admin_update_form_options($${2:model}, class_basename(${1:Model}::class)),", | |
" [", | |
" $5", | |
" ]", | |
" ),", | |
" '${2:model}' => new ${4:DomainModelResource}($${2:model})", | |
" ]);", | |
"}" | |
], | |
"description": "laravel controller edit method" | |
}, | |
"laravel controller update method": { | |
"prefix": "laupdate", | |
"body": [ | |
"/**", | |
" * presist ${3:model} in database", | |
" *", | |
" * @param ${1:Rquest} \\$request", | |
" * @param ${2:Model} $${3:model}", | |
" * @return void", | |
" */", | |
"public function update(${1:Rquest} \\$request, ${2:Model} $${3:model})", | |
"{", | |
" return response()->json([", | |
" 'data' => \\$this->${4:model_service}->update(\\$request, $${3:model})", | |
" ]);", | |
"}" | |
], | |
"description": "laravel controller update method" | |
}, | |
"laravel test method": { | |
"prefix": "test", | |
"body": [ | |
"/** @test */", | |
"public function $1()", | |
"{", | |
" $2", | |
"}" | |
], | |
"description": "laravel test method" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment