Last active
November 28, 2017 18:50
-
-
Save moxdev/7b801b6abd17b2e6d666f45435a57c64 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
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":"2017-11-28T18:50:28.653Z","extensionVersion":"v2.8.6"} |
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": "835af090-485a-48fc-bc95-4dd5b3e79734", | |
"publisherId": "42c0760b-fc8c-46bc-975e-4de389991ae8", | |
"publisherDisplayName": "steve8708" | |
}, | |
"name": "Align", | |
"publisher": "steve8708", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "38bbe3f0-5204-4170-845e-c2f966d979b8", | |
"publisherDisplayName": "Jun Han" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.3" | |
}, | |
{ | |
"metadata": { | |
"id": "366a9f01-2d1b-48b9-b7df-014ff8dea46b", | |
"publisherId": "38bbe3f0-5204-4170-845e-c2f966d979b8", | |
"publisherDisplayName": "Jun Han" | |
}, | |
"name": "auto-complete-tag", | |
"publisher": "formulahendry", | |
"version": "0.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "38bbe3f0-5204-4170-845e-c2f966d979b8", | |
"publisherDisplayName": "Jun Han" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.0.15" | |
}, | |
{ | |
"metadata": { | |
"id": "9d674f86-f8d2-4fe1-8fa6-a17b40caf4ac", | |
"publisherId": "8e8404e1-0cbf-45f2-afcb-d3e43c020b62", | |
"publisherDisplayName": "Paweł Grzybek" | |
}, | |
"name": "bimbo-theme", | |
"publisher": "pawelgrzybek", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "2aa040bf-c73a-455d-8946-5c6cc83b8019", | |
"publisherId": "1765455a-0065-41ee-a148-b8fd4226221b", | |
"publisherDisplayName": "wmaurer" | |
}, | |
"name": "change-case", | |
"publisher": "wmaurer", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "ac3a3342-db76-40ef-9277-4657632d3bfe", | |
"publisherDisplayName": "Shan Khan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "2.8.6" | |
}, | |
{ | |
"metadata": { | |
"id": "121396ad-85a1-45ec-9fd1-d95028a847f5", | |
"publisherId": "e9a76d04-24d4-44eb-a202-964f71acf59e", | |
"publisherDisplayName": "Sergii Naumov" | |
}, | |
"name": "color-highlight", | |
"publisher": "naumovs", | |
"version": "2.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "060828aa-17ab-40d9-9e2d-f8407f5c8d04", | |
"publisherId": "36c010fa-f346-4325-ab00-0e8c727dbe17", | |
"publisherDisplayName": "alexdima" | |
}, | |
"name": "copy-relative-path", | |
"publisher": "alexdima", | |
"version": "0.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce", | |
"publisherId": "d4fc689c-c760-4902-af94-114f64e1100f", | |
"publisherDisplayName": "Joel Day" | |
}, | |
"name": "docthis", | |
"publisher": "joelday", | |
"version": "0.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b3917e4f-5086-4def-a82b-2ae6b708db16", | |
"publisherId": "abad690f-9e62-4fc4-a898-a944ea7d94b7", | |
"publisherDisplayName": "flowtype" | |
}, | |
"name": "flow-for-vscode", | |
"publisher": "flowtype", | |
"version": "0.7.2" | |
}, | |
{ | |
"metadata": { | |
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c", | |
"publisherId": "c0885fa3-3b61-4f83-b035-0d441817979b", | |
"publisherDisplayName": "sysoev" | |
}, | |
"name": "language-stylus", | |
"publisher": "sysoev", | |
"version": "1.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "98790d67-10fa-497c-9113-f6c7489207b2", | |
"publisherId": "36c8b41c-6ef6-4bf5-a5b7-65bef29b606f", | |
"publisherDisplayName": "Yu Zhang" | |
}, | |
"name": "markdown-all-in-one", | |
"publisher": "yzhang", | |
"version": "0.11.2" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "8ae75bda-ec22-4a17-9340-abf1a20beca9", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "Material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "2.10.23" | |
}, | |
{ | |
"metadata": { | |
"id": "36d19e17-7569-4841-a001-947eb18602b2", | |
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee", | |
"publisherDisplayName": "Microsoft" | |
}, | |
"name": "node-debug2", | |
"publisher": "ms-vscode", | |
"version": "1.19.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86", | |
"publisherId": "a892fb38-060b-475f-9e73-2e06a8a17a68", | |
"publisherDisplayName": "Christian Kohler" | |
}, | |
"name": "path-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "044b4b31-2969-4af3-895d-855433b8b46d", | |
"publisherId": "2bbbc574-aea7-4866-8f36-2d56ef365f8c", | |
"publisherDisplayName": "Felix Becker" | |
}, | |
"name": "php-debug", | |
"publisher": "felixfbecker", | |
"version": "1.12.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5e69f001-f945-4c97-baf0-320d82a153b3", | |
"publisherId": "2bbbc574-aea7-4866-8f36-2d56ef365f8c", | |
"publisherDisplayName": "Felix Becker" | |
}, | |
"name": "php-intellisense", | |
"publisher": "felixfbecker", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "1a9300c9-36a6-44d1-9d09-ada3641b8727", | |
"publisherId": "2bbbc574-aea7-4866-8f36-2d56ef365f8c", | |
"publisherDisplayName": "Felix Becker" | |
}, | |
"name": "php-pack", | |
"publisher": "felixfbecker", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "d16f4e39-2ffb-44e3-9c0d-79d873570e3a", | |
"publisherDisplayName": "Esben Petersen" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "0.26.0" | |
}, | |
{ | |
"metadata": { | |
"id": "797a79de-a0fd-4349-9034-bec47be9a941", | |
"publisherId": "83d1cc61-fc32-4da9-8e6e-5a5fc51cdb81", | |
"publisherDisplayName": "2gua" | |
}, | |
"name": "rainbow-brackets", | |
"publisher": "2gua", | |
"version": "0.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "e8b469bd-915d-4070-bfc2-05c9b546f8ee", | |
"publisherId": "ce7c7817-71f3-4c7b-beaa-d22eb4299832", | |
"publisherDisplayName": "jakob101" | |
}, | |
"name": "RelativePath", | |
"publisher": "jakob101", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b864db6b-8147-4ff8-b05a-f7c906c91f02", | |
"publisherId": "5301c829-08a8-4505-a5a0-c623ee1041cb", | |
"publisherDisplayName": "Josh Peng" | |
}, | |
"name": "sublime-babel-vscode", | |
"publisher": "joshpeng", | |
"version": "0.2.9" | |
}, | |
{ | |
"metadata": { | |
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4", | |
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee", | |
"publisherDisplayName": "Microsoft" | |
}, | |
"name": "sublime-keybindings", | |
"publisher": "ms-vscode", | |
"version": "3.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "fb374ce1-5343-46c8-a425-900fdad15523", | |
"publisherId": "ef56c328-1595-4d1e-9e0b-43d926331358", | |
"publisherDisplayName": "Wes Bos" | |
}, | |
"name": "theme-cobalt2", | |
"publisher": "wesbos", | |
"version": "2.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "8c0c10c6-cfc6-47a6-9e0e-072d68d134d2", | |
"publisherId": "ca1efc79-8f5d-49da-9ac1-dbcca0e5f488", | |
"publisherDisplayName": "Poorchop" | |
}, | |
"name": "theme-darktooth", | |
"publisher": "Poorchop", | |
"version": "0.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "e96f7482-8e97-4155-8a7c-ad5fab4d8b2d", | |
"publisherId": "29a1eb27-2838-48b9-9cb4-a58eca5cee77", | |
"publisherDisplayName": "Jarvis Prestidge" | |
}, | |
"name": "theme-material-theme", | |
"publisher": "jprestidge", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "e8aa5629-b53b-4d40-b96d-05e07217742a", | |
"publisherId": "5301c829-08a8-4505-a5a0-c623ee1041cb", | |
"publisherDisplayName": "Josh Peng" | |
}, | |
"name": "theme-onedark-sublime", | |
"publisher": "joshpeng", | |
"version": "0.3.6" | |
}, | |
{ | |
"metadata": { | |
"id": "4ad7bc2f-74d7-42a3-bba6-9b769e84c70f", | |
"publisherId": "e9a76d04-24d4-44eb-a202-964f71acf59e", | |
"publisherDisplayName": "Sergii Naumov" | |
}, | |
"name": "trailing-semicolon", | |
"publisher": "naumovs", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37", | |
"publisherId": "0b5821dc-b7ab-4fa0-bcee-c2add1d8f9db", | |
"publisherDisplayName": "egamma" | |
}, | |
"name": "tslint", | |
"publisher": "eg2", | |
"version": "1.0.14" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "bc3f1075-3ced-4395-9b1b-3f0ecaee83be", | |
"publisherDisplayName": "Microsoft" | |
}, | |
"name": "vscode-docker", | |
"publisher": "PeterJausovec", | |
"version": "0.0.22" | |
}, | |
{ | |
"metadata": { | |
"id": "03944bdc-9bcb-4ac2-b9b3-fdb050dd43e4", | |
"publisherId": "c958976e-9702-4f1a-8bdf-26b7bc012d65", | |
"publisherDisplayName": "mrmlnc" | |
}, | |
"name": "vscode-duplicate", | |
"publisher": "mrmlnc", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "29859a75-d81b-4f0e-8578-2c80ecee6f99", | |
"publisherDisplayName": "Dirk Baeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "3d894ec1-7c48-4c7d-9d12-9738c4d94db3", | |
"publisherDisplayName": "Roberto Huertas" | |
}, | |
"name": "vscode-icons", | |
"publisher": "robertohuertasm", | |
"version": "7.18.1" | |
}, | |
{ | |
"metadata": { | |
"id": "03b20f74-9504-4130-a12f-af9808985b37", | |
"publisherId": "5232259f-6ba7-4615-a1dd-a4367a5096b6", | |
"publisherDisplayName": "g3rry" | |
}, | |
"name": "vscode-paste-and-indent", | |
"publisher": "Rubymaniac", | |
"version": "0.0.8" | |
}, | |
{ | |
"metadata": { | |
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3", | |
"publisherId": "852b63c9-509c-44fb-a302-f04544c660ad", | |
"publisherDisplayName": "Visual Studio Mobile Tools" | |
}, | |
"name": "vscode-react-native", | |
"publisher": "vsmobile", | |
"version": "0.5.7" | |
}, | |
{ | |
"metadata": { | |
"id": "6f5d4f30-67aa-4151-80c0-1bbe8ca5f9db", | |
"publisherId": "1dfd9e90-5113-4f41-bfad-a22f8288078e", | |
"publisherDisplayName": "cssho" | |
}, | |
"name": "vscode-svgviewer", | |
"publisher": "cssho", | |
"version": "1.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6", | |
"publisherId": "1a680e61-b64e-4eff-bbbb-2085b0618f52", | |
"publisherDisplayName": "Mahmoud Ali" | |
}, | |
"name": "vscode-theme-onedark", | |
"publisher": "akamud", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9", | |
"publisherId": "47daa402-5396-4346-b7bd-62494d6d63ec", | |
"publisherDisplayName": "Wayou Liu" | |
}, | |
"name": "vscode-todo-highlight", | |
"publisher": "wayou", | |
"version": "0.5.11" | |
} | |
] |
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
// Empty |
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 overwrite the defaults | |
[ | |
{ | |
"key": "cmd+v", | |
"command": "pasteAndIndent.action", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "!editorTextFocus" | |
}, | |
{ | |
"key": "cmd+shift+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
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 settings in this file to overwrite the default settings | |
// Editor Settings | |
"editor.fontFamily": "OperatorMono-XLight", | |
"editor.fontSize": 14, | |
"editor.tabSize": 2, | |
"editor.wordWrap": "on", | |
"editor.wordWrapColumn": 120, | |
"editor.tabCompletion": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"files.autoSave": "onFocusChange", | |
"editor.formatOnSave": true, | |
"window.zoomLevel": 1, | |
// Color & Icon Settings | |
"workbench.colorTheme": "Cobalt2", | |
"workbench.iconTheme": "vscode-icons", | |
// Bracket Colors | |
"workbench.colorCustomizations": { | |
// "editorBracketMatch.background": "#333", | |
// "editorBracketMatch.border": "#ffffff" | |
}, | |
// Flow Settings | |
"javascript.validate.enable": false, | |
// Set to true to eliminate the need for //@flow in files | |
"flow.runOnAllFiles": false, | |
// Excluded Files | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/._*": true, | |
"node_modules/": true, | |
"**.sublime-project": true, | |
"**.sublime-workspace": true | |
}, | |
// Prettier Settings | |
"prettier.printWidth": 120, | |
"prettier.singleQuote": true, | |
"prettier.parser": "flow", | |
// Terminal Integration Settings | |
"terminal.integrated.fontFamily": "'Inconsolata-g for Powerline'", | |
"terminal.integrated.lineHeight": 1.4, | |
"terminal.integrated.fontSize": 14, | |
"terminal.integrated.enableBold": true, | |
// Emmet Settings | |
"emmet.triggerExpansionOnTab": true, | |
"emmet.includeLanguages": { | |
"php": "html", | |
"javascript": ["javascriptreact", "html", "css"], | |
"vue-html": "html", | |
"plaintext": "jade", | |
"css": "styl" | |
}, | |
// VS Code Sync Settings | |
"sync.gist": "7b801b6abd17b2e6d666f45435a57c64", | |
"sync.lastUpload": "2017-10-01T16:00:47.735Z", | |
"sync.autoDownload": false, | |
"sync.autoUpload": true, | |
"sync.lastDownload": "", | |
"sync.forceDownload": false, | |
"sync.anonymousGist": false, | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
// Languages | |
// "html.suggest.angular2": false, | |
"html.suggest.ionic": false, | |
"html.suggest.html5": true, | |
"php.validate.executablePath": "/usr/local/bin/php", | |
"pasteAndIndent.selectAfter": true, | |
"files.associations": { | |
// "*.jsx": "html", | |
// "*.js": "html" | |
}, | |
"sublimeTextKeymap.promptV3Features": true, | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnPaste": true | |
// Optional ESLint options | |
// "eslint.options": { "configFile": "C:/mydirectory/.eslintrc.json" } | |
} |
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
{ | |
"esc": { | |
"prefix": "esc", | |
"body": "esc_html( $0 );", | |
"description": "esc html", | |
"scope": "source.php, text.html" | |
}, | |
"escu": { | |
"prefix": "escu", | |
"body": "esc_url( $0 );", | |
"description": "esc url", | |
"scope": "source.php, text.html" | |
}, | |
"php": { | |
"prefix": "php", | |
"body": "<?php $0 ?>", | |
"description": "", | |
"scope": "source.php" | |
}, | |
} |
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 JavaScript (Babel) 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 JavaScript React (Babel) 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:*/ | |
"Import React": { | |
"prefix": "import", | |
"body": ["import React from 'react'"], | |
"description": "Adds import React from 'react'" | |
} | |
} |
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
{ | |
"hc": { | |
"prefix": "hc", | |
"body": "<!-- $0 -->", | |
"description": "", | |
"scope": "source.php, embedding.php, text.html" | |
}, | |
"?": { | |
"prefix": "?", | |
"body": "?>$0<?php", | |
"description": "", | |
"scope": "source.php, text.html" | |
}, | |
"get": { | |
"prefix": "get", | |
"body": "get_field( $1 );", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"sub": { | |
"prefix": "sub", | |
"body": "get_sub_field( $1 );", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"acfimg": { | |
"prefix": "acfimg", | |
"body": "<img src=\"<?php echo esc_url( $img['sizes']['$1'] ); ?>\" alt=\"<?php echo esc_attr( $img['alt'] ); ?>\" description=\"<?php echo esc_attr( $img['description'] ); ?>\"> $2", | |
"description": "", | |
"scope": "source.php, text.html" | |
}, | |
"class": { | |
"prefix": "class", | |
"body": "<div class=\"$0\"></div>", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"setting": { | |
"prefix": "setting", | |
"body": "$wp_customize->add_setting ( '$1', array( 'sanitize_callback' => 'sanitize_text' ) ); $wp_customize->add_control ( '$1', array( 'label' => '$2', 'section' => '$3', 'type' => 'text' ) );", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"setting1": { | |
"prefix": "setting", | |
"body": "$wp_customize->add_setting ( '$1', array( 'sanitize_callback' => 'sanitize_text' ) );$wp_customize->add_control ( '$1', array( 'label' => '$2', 'section' => '$3', 'type' => 'text' ) );", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"esc": { | |
"prefix": "esc", | |
"body": "esc_html( $0 );", | |
"description": "esc html", | |
"scope": "source.php, text.html" | |
}, | |
"escu": { | |
"prefix": "escu", | |
"body": "esc_url( $0 );", | |
"description": "esc url", | |
"scope": "source.php, text.html" | |
}, | |
"id": { | |
"prefix": "id", | |
"body": "<div id=\"$0\"></div>", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"if?": { | |
"prefix": "if?", | |
"body": "if ( $1 ): ?> $2<?php endif;", | |
"description": "if ?>", | |
"scope": "source.python, text.html" | |
}, | |
"?if": { | |
"prefix": "?if", | |
"body": "<? if ($1): $2<?php endif;", | |
"description": "", | |
"scope": "source.php, text.html" | |
}, | |
"iff": { | |
"prefix": "iff", | |
"body": "if ( function_exists( $1 ) ) { $2}", | |
"description": "", | |
"scope": "text.html, source.php" | |
}, | |
"fp": { | |
"prefix": "fp", | |
"body": "if ( ! function_exists( '$0' ) ) : function $0() { }endif;", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"ispage": { | |
"prefix": "ispage", | |
"body": "if( is_page_template( $1 ) ) { $2;}", | |
"description": "", | |
"scope": "source.php, source.html" | |
}, | |
"link": { | |
"prefix": "link", | |
"body": "<a href=\"<?php echo esc_html( $1 ); ?>\"><?php echo esc_html( $1 ); ?></a>", | |
"description": "", | |
"scope": "source.php, text.html" | |
}, | |
"php": { | |
"prefix": "php", | |
"body": "<?php $0 ?>", | |
"description": "", | |
"scope": "source.php" | |
}, | |
"repeat": { | |
"prefix": "repeat", | |
"body": "<?php if( have_rows('$1') ): ?> <div class=\"$2\"> <?php while( have_rows('$1') ): the_row(); $3 = get_sub_field('$4'); ?> <div class=\"$5\"> <?php if( !empty($6) ) : ?> <?php endif; ?> <?php if( !empty() ) : ?> <?php endif; ?> </div> <?php endwhile; ?> </div><?php endif; ?>", | |
"description": "", | |
"scope": "source.php, text.html" | |
}, | |
"svg": { | |
"prefix": "svg", | |
"body": "echo file_get_contents('$1');", | |
"description": "", | |
"scope": "source.php" | |
} | |
} |
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":"7.18.1","status":0,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment