Skip to content

Instantly share code, notes, and snippets.

@M1TKO
Created April 28, 2020 07:22
Show Gist options
  • Save M1TKO/b595fe04de38989b1232bbf8bde5bbdd to your computer and use it in GitHub Desktop.
Save M1TKO/b595fe04de38989b1232bbf8bde5bbdd to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-28T07:21:57.595Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"metadata": {
"id": "8a0c151b-eb13-4bed-9d49-4a252a118a0c",
"publisherId": "michelemelluso.code-beautifier",
"publisherDisplayName": "michelemelluso"
},
"name": "code-beautifier",
"publisher": "michelemelluso",
"version": "2.3.3"
},
{
"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": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.1"
},
{
"metadata": {
"id": "5e69f001-f945-4c97-baf0-320d82a153b3",
"publisherId": "felixfbecker.php-intellisense",
"publisherDisplayName": "felixfbecker"
},
"name": "php-intellisense",
"publisher": "felixfbecker",
"version": "2.3.14"
},
{
"metadata": {
"id": "466468c3-1861-4ad1-bf3e-f9ad46545ebb",
"publisherId": "syler.sass-indented",
"publisherDisplayName": "syler"
},
"name": "sass-indented",
"publisher": "syler",
"version": "1.8.3"
},
{
"metadata": {
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4",
"publisherId": "ms-vscode.sublime-keybindings",
"publisherDisplayName": "ms-vscode"
},
"name": "sublime-keybindings",
"publisher": "ms-vscode",
"version": "4.0.7"
},
{
"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": "beb68b20-7c55-471c-9b63-3486f9423566",
"publisherId": "mrmlnc.vscode-scss",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-scss",
"publisher": "mrmlnc",
"version": "0.9.0"
}
]
{
"window.zoomLevel": -1,
"editor.matchBrackets": false,
"editor.minimap.enabled": true,
"breadcrumbs.enabled": true,
"editor.cursorBlinking": "smooth",
"php.validate.executablePath": "C:\\xampp\\php\\php.exe",
"search.maintainFileSearchCache": true,
"search.useGlobalIgnoreFiles": true,
"workbench.quickOpen.preserveInput": true,
"workbench.commandPalette.preserveInput": true,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": true,
"extensions.ignoreRecommendations": true,
"php.suggest.basic": false,
"javascript.suggest.enabled": false,
"terminal.integrated.rendererType": "dom",
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.tokenColorCustomizations": {
"textMateRules":[
{
"scope": "constant.other.php",
"settings": {
"foreground": "#feffad"
}
}
]
},
"html.mirrorCursorOnMatchingTag": false,
"workbench.sideBar.location": "left",
"files.exclude": {
"**/.vscode": true,
"**/node_modules": true
},
"search.enableSearchEditorPreview": true,
"timeline.showView": true,
"sync.gist": "",
"editor.smoothScrolling": true,
"workbench.activityBar.visible": true
}
{
// Place your snippets for html 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:
"Open PHP tags": {
"prefix": "<?",
"body": [
"<?php $1 ?>"
],
"description": "Opens php tags in html"
},
"if tags": {
"prefix": "if",
"body": [
"<?php if ($1) : ?>"
],
"description": "Opens php if tag in html"
},
"elseif tag": {
"prefix": "elseif",
"body": [
"<?php elseif ($1) : ?>"
],
"description": "Opens php elseif tag in html"
},
"else tag": {
"prefix": "else",
"body": [
"<?php else : ?>\n$1"
],
"description": "Opens php else tag in html"
},
"endif tag": {
"prefix": "endif",
"body": [
"<?php endif; ?>\n$1"
],
"description": "Close php if tag in html"
},
"foreach tag": {
"prefix": "foreach",
"body": [
"<?php foreach (${1:$$data} as ${2:$$single}) : ?>\n\t$3\n<?php endforeach; ?>\n"
],
"description": "Opens php else tag in html"
},
"echo": {
"prefix": "echo",
"body": [
"<?php echo $1; ?>"
],
"description": "Echo variable"
},
"Open PHP tags and console.log an array": {
"prefix": "plog",
"body": [
"<?php echo '<script>console.log(' . json_encode($1) . ');</script>'; ?>"
],
"description": "HTML | Log array in browsers console"
},
"console.log a PHP array": {
"prefix": "log",
"body": [
"echo '<script>console.log(' . json_encode($1) . ');</script>';"
],
"description": "PHP | Log array in browsers 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"
// }
"console.log an array": {
"prefix": "log",
"body": [
"echo '<script>console.log(' . json_encode($1) . ');</script>';"
],
"description": "Log array in browsers console"
},
"Open PHP tags": {
"prefix": "<?",
"body": [
"<?php $1 ?>"
],
"description": "Opens php tags in html"
},
"Print formatted array": {
"prefix": "exitarray",
"body": [
"exit('<pre>' . print_r($1, true));\n$2"
],
"description": "Print formatted array"
},
"Display PHP errors": {
"prefix": "errAll",
"body": [
"error_reporting(E_ALL);\nini_set('display_errors', 'On');\n$1"
],
"description": "Display errors"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment