Skip to content

Instantly share code, notes, and snippets.

@ARehmanMahi
Last active August 31, 2020 20:00
Show Gist options
  • Save ARehmanMahi/50dc7d8ecdf8a722dba5fbea44146641 to your computer and use it in GitHub Desktop.
Save ARehmanMahi/50dc7d8ecdf8a722dba5fbea44146641 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-31T20:00:48.859Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d7fc53c7-9da8-42c1-8df6-25b0f80fe379",
"publisherId": "annsk.alignment",
"publisherDisplayName": "annsk"
},
"name": "alignment",
"publisher": "annsk",
"version": "0.3.0"
},
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.8"
},
{
"metadata": {
"id": "366a9f01-2d1b-48b9-b7df-014ff8dea46b",
"publisherId": "formulahendry.auto-complete-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-complete-tag",
"publisher": "formulahendry",
"version": "0.1.0"
},
{
"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": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.11.0"
},
{
"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": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.10"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.15.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.2"
},
{
"metadata": {
"id": "60296447-ff8f-40e8-a1dc-8902e126ba2e",
"publisherId": "glitch.glitch",
"publisherDisplayName": "glitch"
},
"name": "glitch",
"publisher": "glitch",
"version": "0.1.7"
},
{
"metadata": {
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a",
"publisherId": "Zignd.html-css-class-completion",
"publisherDisplayName": "Zignd"
},
"name": "html-css-class-completion",
"publisher": "Zignd",
"version": "1.19.0"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "0ec558c9-f7f7-4df3-b2cf-a41ddcf292dd",
"publisherId": "mkaufman.HTMLHint",
"publisherDisplayName": "mkaufman"
},
"name": "HTMLHint",
"publisher": "mkaufman",
"version": "0.8.0"
},
{
"metadata": {
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f",
"publisherId": "xabikos.JavaScriptSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JavaScriptSnippets",
"publisher": "xabikos",
"version": "1.8.0"
},
{
"metadata": {
"id": "8a3855a5-f258-48ee-87f9-fa4f7a0875b1",
"publisherId": "ryannaddy.laravel-artisan",
"publisherDisplayName": "ryannaddy"
},
"name": "laravel-artisan",
"publisher": "ryannaddy",
"version": "0.0.27"
},
{
"metadata": {
"id": "3b58a227-618a-4b57-a06b-6984a2a8d1ba",
"publisherId": "onecentlin.laravel-blade",
"publisherDisplayName": "onecentlin"
},
"name": "laravel-blade",
"publisher": "onecentlin",
"version": "1.22.1"
},
{
"metadata": {
"id": "970bf208-88ee-472e-a6cf-63ce54817acc",
"publisherId": "onecentlin.laravel-extension-pack",
"publisherDisplayName": "onecentlin"
},
"name": "laravel-extension-pack",
"publisher": "onecentlin",
"version": "1.0.0"
},
{
"metadata": {
"id": "b52072d1-e507-4261-8935-f4d91a055d7d",
"publisherId": "amiralizadeh9480.laravel-extra-intellisense",
"publisherDisplayName": "amiralizadeh9480"
},
"name": "laravel-extra-intellisense",
"publisher": "amiralizadeh9480",
"version": "0.3.2"
},
{
"metadata": {
"id": "f8a1bc85-dce8-4e51-a623-a40bde56fc8b",
"publisherId": "stef-k.laravel-goto-controller",
"publisherDisplayName": "stef-k"
},
"name": "laravel-goto-controller",
"publisher": "stef-k",
"version": "0.0.7"
},
{
"metadata": {
"id": "0b86e0a5-d2ef-48d8-9a1a-73f96e65f26e",
"publisherId": "codingyu.laravel-goto-view",
"publisherDisplayName": "codingyu"
},
"name": "laravel-goto-view",
"publisher": "codingyu",
"version": "1.3.3"
},
{
"metadata": {
"id": "050d4900-7979-4d10-b7aa-e274f6ae8730",
"publisherId": "onecentlin.laravel5-snippets",
"publisherDisplayName": "onecentlin"
},
"name": "laravel5-snippets",
"publisher": "onecentlin",
"version": "1.9.0"
},
{
"metadata": {
"id": "4bf45e86-a448-4531-8c01-ef33f4536306",
"publisherId": "ms-mssql.mssql",
"publisherDisplayName": "ms-mssql"
},
"name": "mssql",
"publisher": "ms-mssql",
"version": "1.9.0"
},
{
"metadata": {
"id": "1a7b1f64-469d-4116-bb35-508ea3894f88",
"publisherId": "raynigon.nginx-formatter",
"publisherDisplayName": "raynigon"
},
"name": "nginx-formatter",
"publisher": "raynigon",
"version": "0.0.10"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.3.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.2.1"
},
{
"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": "b0a47156-9132-49a2-bebd-ed16d91b1fa6",
"publisherId": "ikappas.phpcs",
"publisherDisplayName": "ikappas"
},
"name": "phpcs",
"publisher": "ikappas",
"version": "1.0.5"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.5.0"
},
{
"metadata": {
"id": "7ed7bccd-f358-4c6f-88c0-1296185abaa1",
"publisherId": "chrmarti.regex",
"publisherDisplayName": "chrmarti"
},
"name": "regex",
"publisher": "chrmarti",
"version": "0.2.0"
},
{
"metadata": {
"id": "fe20f03a-2abf-470a-ab23-d671ec38ce42",
"publisherId": "coolbear.systemd-unit-file",
"publisherDisplayName": "coolbear"
},
"name": "systemd-unit-file",
"publisher": "coolbear",
"version": "1.0.6"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.26.1"
},
{
"metadata": {
"id": "50323803-7d86-4bac-a471-ffb83beab864",
"publisherId": "KamasamaK.vscode-cfml",
"publisherDisplayName": "KamasamaK"
},
"name": "vscode-cfml",
"publisher": "KamasamaK",
"version": "0.5.3"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.8"
},
{
"metadata": {
"id": "c5f4d87f-a524-462c-ac01-923eb19cf3e9",
"publisherId": "firefox-devtools.vscode-firefox-debug",
"publisherDisplayName": "firefox-devtools"
},
"name": "vscode-firefox-debug",
"publisher": "firefox-devtools",
"version": "2.9.1"
},
{
"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": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "10.2.0"
},
{
"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": "414b2873-c80e-4dc6-9031-bd185cfb3944",
"publisherId": "william-voyek.vscode-nginx",
"publisherDisplayName": "william-voyek"
},
"name": "vscode-nginx",
"publisher": "william-voyek",
"version": "0.7.2"
},
{
"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": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.13"
},
{
"metadata": {
"id": "28fcf0b8-26a5-4e99-9b8d-02e990366c6f",
"publisherId": "tombonnike.vscode-status-bar-format-toggle",
"publisherDisplayName": "tombonnike"
},
"name": "vscode-status-bar-format-toggle",
"publisher": "tombonnike",
"version": "2.0.0"
},
{
"metadata": {
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea",
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin",
"publisherDisplayName": "ms-vscode"
},
"name": "vscode-typescript-tslint-plugin",
"publisher": "ms-vscode",
"version": "1.2.3"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.10"
},
{
"metadata": {
"id": "c8d95916-cf54-455f-b324-cbd887b7d3a8",
"publisherId": "sdras.vue-vscode-snippets",
"publisherDisplayName": "sdras"
},
"name": "vue-vscode-snippets",
"publisher": "sdras",
"version": "2.1.4"
},
{
"metadata": {
"id": "cbf3bf40-02cc-4efa-b596-aa4cb09851f7",
"publisherId": "mubaidr.vuejs-extension-pack",
"publisherDisplayName": "mubaidr"
},
"name": "vuejs-extension-pack",
"publisher": "mubaidr",
"version": "1.2.1"
},
{
"metadata": {
"id": "0cb81da2-1880-4755-9995-0ae9cc728e20",
"publisherId": "DotJoshJohnson.xml",
"publisherDisplayName": "DotJoshJohnson"
},
"name": "xml",
"publisher": "DotJoshJohnson",
"version": "2.5.1"
}
]
[
{
"key": "ctrl+k u",
"command": "editor.action.transformToUppercase",
"when": "editorHasSelection"
},
{
"key": "ctrl+k l",
"command": "editor.action.transformToLowercase",
"when": "editorHasSelection"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+j",
"command": "editor.action.joinLines"
}
]
// Place your settings in this file to overwrite the default settings
{
// "php.validate.executablePath": "/usr/bin/php",
"php.validate.executablePath": "D:\\laragon\\bin\\php\\php-7.3.17-Win32-VC15-x64",
"php.validate.run": "onType",
"editor.renderWhitespace": "all",
"editor.renderLineHighlight": "all",
"editor.detectIndentation": false,
"sync.gist": "50dc7d8ecdf8a722dba5fbea44146641",
"sync.lastUpload": "2017-10-15T15:32:06.170Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "2018-02-08T08:37:50.936Z",
"sync.version": 251,
"sync.showSummary": true,
"sync.forceDownload": false,
"sync.anonymousGist": false,
"extensions.autoUpdate": true,
"stylelint.enable": true,
"css.validate": false,
"editor.wordWrap": "on",
"editor.dragAndDrop": true,
"window.title": "${dirty}${activeEditorLong}${separator}${appName}",
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"git.enableSmartCommit": true,
"sync.askGistName": false,
"extensions.ignoreRecommendations": false,
"search.useIgnoreFilesByDefault": true,
"search.useIgnoreFiles": true,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": true
},
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"gitlens.keymap": "chorded",
"gitlens.historyExplorer.enabled": true,
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"breadcrumbs.enabled": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"auto-close-tag.excludedTags": [
"area",
"base",
"br",
"col",
"command",
"embed",
"hr",
"img",
"input",
"keygen",
"link",
"meta",
"param",
"source",
"track",
"wbr",
"cfabort",
"cfapplication",
"cfargument",
"cfassociate",
"cfbreak",
"cfchartdata",
"cfcollection",
"cfcontent",
"cfcontinue",
"cfcookie",
"cfdirectory",
"cfdump",
"cfelse",
"cfelseif",
"cferror",
"cfexecute",
"cfexit",
"cffile",
"cfflush",
"cfheader",
"cfhttpparam",
"cfimage",
"cfimport",
"cfinclude",
"cfindex",
"cfinput",
"cfinvokeargument",
"cflocation",
"cflog",
"cfloginuser",
"cflogout",
"cfmailparam",
"cfobject",
"cfobjectcache",
"cfparam",
"cfpop",
"cfprocessingdirective",
"cfprocparam",
"cfprocresult",
"cfproperty",
"cfqueryparam",
"cfregistry",
"cfreportparam",
"cfrethrow",
"cfreturn",
"cfschedule",
"cfsearch",
"cfset",
"cfsetting",
"cfthrow",
"cfwddx"
],
"prettier.semi": false,
"prettier.singleQuote": true,
"vetur.format.defaultFormatter.html": "prettier",
"vetur.validation.template": false,
"vetur.completion.useScaffoldSnippets": false,
"eslint.validate": [
"javascript",
"vue"
],
"cSpell.userWords": [
"Dispatchable",
"Muavia",
"Queueable",
"Vuex",
"adeel",
"adminpanel",
"arehman",
"bsienn",
"datatable",
"fontawesome",
"incharge",
"janjapan",
"laravel",
"mailtrap",
"phpredis",
"precompiled",
"resave",
"todos",
"vetur",
"webhook"
],
"files.autoSave": "off",
"javascript.updateImportsOnFileMove.enabled": "always",
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"files.exclude": {
"*.log": true,
"**/node_modules": true,
"**/.git": true,
"**/storage": true,
"**/tests/": true,
".editorconfig": true,
"artisan": true,
".idea": true,
"server.php": true,
"__pycache__": true,
"package-lock.json": true,
"_ide_helper.php": true,
"_ide_helper_models.php": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.git": true,
"**/storage": true,
"**/tests": true,
"_ide_helper.php": true,
"_ide_helper_models.php": true,
"package-lock.json": true
},
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.associations": {
"*.blade.php": "html",
"*.php": "php",
"*.vue": "vue",
"*.php-cs": "php"
},
"php.validate.enable": false,
"php.suggest.basic": false,
"editor.rulers": [
120
],
// Set the default
"editor.formatOnSave": false,
"editor.insertSpaces": true,
"editor.tabSize": 2,
// Enable per-language
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[php]": {
"editor.tabSize": 4
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.fontSize": 14,
"editor.letterSpacing": 0.5,
"editor.lineHeight": 24,
"editor.cursorBlinking": "smooth",
"editor.fontLigatures": false,
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"editor.autoIndent": "advanced",
"git.showPushSuccessNotification": true,
"scm.diffDecorations": "none",
"editor.codeLens": true,
"editor.cursorStyle": "line",
"outline.problems.enabled": true,
"explorer.autoReveal": true,
"editor.gotoLocation.multipleDefinitions": "goto",
"explorer.confirmDragAndDrop": true,
"explorer.openEditors.visible": 0,
"editor.snippetSuggestions": "bottom",
"editor.minimap.enabled": false,
"editor.emptySelectionClipboard": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.activityBar.visible": false,
"workbench.sideBar.location": "left",
"workbench.enableExperiments": false,
"workbench.statusBar.visible": true,
"npm.enableScriptExplorer": false,
"workbench.iconTheme": "vscode-icons",
"git.enabled": true,
"intelephense.stubs": [
"apache",
"bcmath",
"bz2",
"calendar",
"com_dotnet",
"Core",
"ctype",
"curl",
"date",
"dba",
"dom",
"enchant",
"exif",
"fileinfo",
"filter",
"fpm",
"ftp",
"gd",
"hash",
"iconv",
"imap",
"interbase",
"intl",
"json",
"ldap",
"libxml",
"mbstring",
"mcrypt",
"meta",
"mssql",
"mysqli",
"oci8",
"odbc",
"openssl",
"pcntl",
"pcre",
"PDO",
"pdo_ibm",
"pdo_mysql",
"pdo_pgsql",
"pdo_sqlite",
"pgsql",
"Phar",
"posix",
"pspell",
"readline",
"recode",
"Reflection",
"regex",
"session",
"shmop",
"SimpleXML",
"snmp",
"soap",
"sockets",
"sodium",
"SPL",
"sqlite3",
"standard",
"superglobals",
"sybase",
"sysvmsg",
"sysvsem",
"sysvshm",
"tidy",
"tokenizer",
"wddx",
"xml",
"xmlreader",
"xmlrpc",
"xmlwriter",
"Zend OPcache",
"zip",
"zlib"
],
"intelephense.telemetry.enabled": false,
"intelephense.format.enable": true,
"intelephense.completion.triggerParameterHints": true,
"intelephense.completion.insertUseDeclaration": true,
"intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": true,
"intelephense.trace.server": "messages",
"intelephense.files.exclude": [
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/storage/**",
"**/tests/**",
"**/resources/views/**",
"**/database/migrations/**",
"**/storage/framework/views/**",
"_ide_helper.php",
"_ide_helper_models"
],
// "phpcs.executablePath": "/home/Adeel/.config/composer/vendor/bin/phpcs",
"phpcs.executablePath": "C:\\Users\\Adeel\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcs",
"phpcs.enable": true,
"phpcs.autoConfigSearch": true,
"phpcs.standard": "PSR2",
"phpcs.showWarnings": true,
"phpcs.showSources": true,
"phpcs.ignorePatterns": [
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/resources/views/**",
"**/database/migrations/**",
"**/storage/**",
"**/tests/**",
"**/vendor",
"**/storage/framework/views/**",
"_ide_helper.php",
"_ide_helper_models"
],
"php-docblocker.returnGap": true,
"php-docblocker.qualifyClassNames": true,
"php-docblocker.author": {
"name": "Abdul Rehman",
"email": "[email protected]"
},
"window.zoomLevel": 0,
"search.collapseResults": "alwaysCollapse",
"search.showLineNumbers": true,
"vsicons.dontShowNewVersionMessage": true,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"editor.renameOnType": 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"Add js script tag": {
"prefix": "js",
"body": [
"<script src=\"$1\"></script>",
"$2"
],
"description": "Add js script tag"
},
"Add css link tag": {
"prefix": "css",
"body": [
"<link rel=\"stylesheet\" type=\"text/css\" href=\"$1\">",
"$2"
],
"description": "Add css link tag"
},
"Display none inline": {
"prefix": "dn",
"body": [
"style=\"display: none;\""
],
"description": "Display none inline"
},
"Fontawesome Delete": {
"prefix": "fa-dell",
"body": [
"<i class=\"fa fa-trash\" aria-hidden=\"true\"></i> "
],
"description": "Fontawesome Delete"
},
"Fontawesome Edit": {
"prefix": "fa-edit",
"body": [
"<i class=\"fa fa-pencil\" aria-hidden=\"true\"></i> "
],
"description": "Fontawesome Edit"
},
"Fontawesome Save": {
"prefix": "fa-save",
"body": [
"<i class=\"fa fa-floppy-o\" aria-hidden=\"true\"></i> "
],
"description": "Fontawesome Save"
},
"Fontawesome Calendar": {
"prefix": "fa-calendar",
"body": [
"<i class=\"fa fa-calendar\" aria-hidden=\"true\"></i> "
],
"description": "Fontawesome Calendar"
},
"Fontawesome Excel": {
"prefix": "fa-excel",
"body": [
"<i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i> "
],
"description": "Fontawesome Excel"
},
"Fontawesome Search": {
"prefix": "fa-search",
"body": [
"<i class=\"fa fa-file-search\" aria-hidden=\"true\"></i> "
],
"description": "Fontawesome Search"
}
}
{
/*
// Place your snippets for JavaScript 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"Print to console": {
"prefix": "conlog",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
},
"Jquery ID Selector": {
"prefix": "jid",
"body": [
"\\$('#$1').$2"
],
"description": "Jquery ID Selector"
},
"Jquery Class Selector": {
"prefix": "jclass",
"body": [
"\\$('.$1').$2"
],
"description": "Jquery Class Selector"
},
"Jquery Ajax": {
"prefix": "ajax",
"body": [
"\\$.ajax({",
" method: 'POST',",
" datatype: 'JSON',",
" url: 'page.php',",
" data: {",
" name: 'John',",
" location: 'Boston'",
" },",
" success: function (data, textStatus, jqXHR, dataType) {},",
" error: function (jqXHR, textStatus, errorThrown) {}",
"});",
"$2"
],
"description": "Jquery Ajax"
},
"Object loop": {
"prefix": "forEach",
"body": [
"Object.keys(myObj).forEach(key => {",
"console.log(key);",
"console.log(myObj[key])",
"})",
],
"description": "Loop through JavaScript object"
},
"Datatable Construct": {
"prefix": "datatable",
"body": [
"\\$('#datatable').DataTable({",
" deferRender: true,",
" lengthMenu: [ [10, 15, 20, 25, 30, 35, 40, 45, 50, -1], [10, 15, 20, 25, 30, 35, 40, 45, 50, 'All'] ],",
" pageLength: 35,",
" initComplete: function(settings, json) {",
" $(this).show();",
" }",
"});"
],
"description": "Datatable Construct"
}
}
{
/*
// 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"dump & die": {
"prefix": "dd",
"body": [
"echo '<pre>';",
"print_r(\\$$1);",
"echo '</pre>';",
"exit;"
],
"description": "dump & die"
},
"Profile execution of code": {
"prefix": "profile",
"body": [
"\\$start = microtime(true);",
"\\$elapsed_time = microtime(true) - \\$start;"
],
"description": "Profile execution of code"
},
"Try catch": {
"prefix": "try catch",
"body": [
"try {",
"}",
"catch(Exception \\$e) {",
"}"
],
"description": "Try catch"
},
"Password Hash": {
"prefix": "password_hash",
"body": [
"$1password_hash('$2', PASSWORD_DEFAULT)$3"
],
"description": "Create a password hash. (PHP 5.5+ Only)"
},
"String Date To DB Date": {
"prefix": "dbdate",
"body": [
"\\$date = DateTime::createFromFormat('d/m/Y', ${\\$date});",
"\\$date = \\$date->format('Y-m-d');"
],
"description": "String Date To DB Date"
},
"Ajax Datatable Function": {
"prefix": "ajax_datatable",
"body": [
"public function ajax_get_bl_datatable()",
"{",
" if (!\\$this->session->userdata('admin_login')) {",
" exit(\"Un-Authorized access\");",
" }",
"",
" \\$sql_details = array(",
" 'user' => USERNAME,",
" 'pass' => PASSWORD,",
" \"db\" => DATABASE,",
" 'host' => HOSTNAME",
" );",
"",
" \\$table = 'bl_master';",
"",
" \\$primaryKey = 'bl_master.id';",
"",
" \\$join = 'LEFT JOIN status_label ON status_label_id = status_label.id';",
"",
" // Array of database columns which should be read and sent back to DataTables.",
" // The `db` parameter represents the column name in the database, while the `dt`",
" // parameter represents the DataTables column identifier. In this case simple",
" // indexes",
"",
" \\$columns = array(",
" array(\"dt\" => 0, \"prefix\" => \"bl_master\", \"column\" => \"id\", \"alias\" => \"\", \"db\" => \"bl_master.id\"),",
" array(\"dt\" => 1, \"prefix\" => \"\", \"column\" => \"user_id\", \"alias\" => \"\", \"db\" => \"user_id\"),",
" array(\"dt\" => 2, \"prefix\" => \"\", \"column\" => \"bl_number\", \"alias\" => \"\", \"db\" => \"bl_number\"),",
" array(\"dt\" => 3, \"prefix\" => \"\", \"column\" => \"invoice_number\", \"alias\" => \"\", \"db\" => \"invoice_number\"),",
" array(\"dt\" => 4, \"prefix\" => \"\", \"column\" => \"ship_date\", \"alias\" => \"\", \"db\" => \"DATE_FORMAT(ship_date, '%d-%m-%Y')\"),",
" array(\"dt\" => 5, \"prefix\" => \"\", \"column\" => \"eta_date\", \"alias\" => \"\", \"db\" => \"DATE_FORMAT(eta_date, '%d-%m-%Y')\"),",
" array(\"dt\" => 6, \"prefix\" => \"\", \"column\" => \"shipping_company_name\", \"alias\" => \"\", \"db\" => \"shipping_company_name\"),",
" array(\"dt\" => 7, \"prefix\" => \"\", \"column\" => \"vessel_name\", \"alias\" => \"\", \"db\" => \"vessel_name\"),",
" array(\"dt\" => 8, \"prefix\" => \"\", \"column\" => \"port_of_load\", \"alias\" => \"\", \"db\" => \"port_of_load\"),",
" array(\"dt\" => 9, \"prefix\" => \"\", \"column\" => \"port_of_discharge\", \"alias\" => \"\", \"db\" => \"port_of_discharge\"),",
" array(\"dt\" => 10, \"prefix\" => \"\", \"column\" => \"containers\", \"alias\" => \"\", \"db\" => \"containers\"),",
" array(\"dt\" => 11, \"prefix\" => \"\", \"column\" => \"status\", \"alias\" => \"\", \"db\" => \"status\"),",
"",
" array(\"dt\" => 12, \"prefix\" => \"\", \"column\" => \"shipping_company_id\", \"alias\" => \"\", \"db\" => \"shipping_company_id\"),",
" array(\"dt\" => 13, \"prefix\" => \"\", \"column\" => \"vessel_id\", \"alias\" => \"\", \"db\" => \"vessel_id\"),",
" array(\"dt\" => 14, \"prefix\" => \"\", \"column\" => \"status_label_id\", \"alias\" => \"\", \"db\" => \"status_label_id\"),",
" array(\"dt\" => 15, \"prefix\" => \"\", \"column\" => \"remarks_1\", \"alias\" => \"\", \"db\" => \"remarks_1\"),",
" array(\"dt\" => 16, \"prefix\" => \"\", \"column\" => \"remarks_2\", \"alias\" => \"\", \"db\" => \"remarks_2\"),",
" array(\"dt\" => 17, \"prefix\" => \"\", \"column\" => \"remarks_3\", \"alias\" => \"\", \"db\" => \"remarks_3\")",
" );",
"",
" \\$queryData = array(",
" 'request' => \\$_GET,",
" 'sql_details' => \\$sql_details,",
" 'table' => \\$table,",
" 'primaryKey' => \\$primaryKey,",
" 'columns' => \\$columns,",
" 'whereResult' => null,",
" 'whereAll' => null,",
" 'join' => \\$join,",
" 'group' => null",
" );",
"",
" \\$this->load->library(array('Datatable'));",
" \\$data = \\$this->datatable::complex(\\$queryData);",
" echo json_encode(\\$data);",
"}"
],
"description": "Ajax Datatable Function"
}
}
{
// Place your snippets for xml 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"
// }
"phpcs PSR2 xml": {
"prefix": "phpcs-psr2",
"body": [
"<?xml version=\"1.0\"?>",
"<ruleset name=\"PSR2\">",
"\t<rule ref=\"PSR2\"/>",
"</ruleset>"
],
"description": "phpcs custom standard PSR2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment