Skip to content

Instantly share code, notes, and snippets.

@martinandersen3d
Forked from ahmedsayedabdelsalam/cloudSettings
Created March 16, 2020 00:26
Show Gist options
  • Save martinandersen3d/2002a9dcb196dd0c65327927b68feee8 to your computer and use it in GitHub Desktop.
Save martinandersen3d/2002a9dcb196dd0c65327927b68feee8 to your computer and use it in GitHub Desktop.
code95-vscode
{"lastUpload":"2020-03-14T22:03:45.785Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "2cbad5ee-b4ab-4de8-a1c7-77fede846155",
"publisherId": "patbenatar.advanced-new-file",
"publisherDisplayName": "patbenatar"
},
"name": "advanced-new-file",
"publisher": "patbenatar",
"version": "1.2.0"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.1"
},
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.0.29"
},
{
"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.8.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": "39bbcdbe-f2de-4e79-a125-c673da7cc88e",
"publisherId": "alexanderte.dainty-material-theme-palenight-vscode",
"publisherDisplayName": "alexanderte"
},
"name": "dainty-material-theme-palenight-vscode",
"publisher": "alexanderte",
"version": "1.0.0"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.0.1"
},
{
"metadata": {
"id": "7f147721-ec06-4043-9e37-c9ffbecbccd1",
"publisherId": "whizkydee.material-palenight-theme",
"publisherDisplayName": "whizkydee"
},
"name": "material-palenight-theme",
"publisher": "whizkydee",
"version": "1.9.7"
},
{
"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": "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.23.2"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.24.0"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.13.0"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "1.0.0"
},
{
"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.3.11"
},
{
"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": "1.4.3"
}
]
{
"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
},
"workbench.colorTheme": "Dainty – Material Theme Palenight (chroma 4, lightness 0)",
"editor.lineHeight": 25,
"sync.autoUpload": false,
"sync.forceUpload": true,
"files.autoSave": "onWindowChange",
"editor.formatOnSave": true,
"search.useIgnoreFiles": false,
"editor.minimap.enabled": false,
"cSpell.userWords": [
"Laravel",
"predis",
"sslmode"
],
"material-icon-theme.folders.theme": "specific",
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true
}
{
// 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"
// }
}
{
// 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"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment