Last active
July 14, 2020 19:38
-
-
Save ekeel/e7f2adf09b4ac6f33da0e9c29500a6f3 to your computer and use it in GitHub Desktop.
This file contains 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-07-14T19:38:37.995Z","extensionVersion":"v3.4.3"} |
This file contains 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": "7fa472e2-50bb-491f-9d50-40f60d09d2bd", | |
"publisherId": "chef-software.chef", | |
"publisherDisplayName": "chef-software" | |
}, | |
"name": "chef", | |
"publisher": "chef-software", | |
"version": "1.7.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": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff", | |
"publisherId": "ms-dotnettools.csharp", | |
"publisherDisplayName": "ms-dotnettools" | |
}, | |
"name": "csharp", | |
"publisher": "ms-dotnettools", | |
"version": "1.22.1" | |
}, | |
{ | |
"metadata": { | |
"id": "96c69be9-5b09-4a18-8c82-4d30ab145017", | |
"publisherId": "formulahendry.docker-explorer", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "docker-explorer", | |
"publisher": "formulahendry", | |
"version": "0.1.7" | |
}, | |
{ | |
"metadata": { | |
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da", | |
"publisherId": "golang.go", | |
"publisherDisplayName": "golang" | |
}, | |
"name": "go", | |
"publisher": "golang", | |
"version": "0.15.1" | |
}, | |
{ | |
"metadata": { | |
"id": "3b3d36c0-6af6-4ede-aaba-6f460423ddea", | |
"publisherId": "casualjim.gotemplate", | |
"publisherDisplayName": "casualjim" | |
}, | |
"name": "gotemplate", | |
"publisher": "casualjim", | |
"version": "0.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2ee137e7-b343-4610-a8b9-8dc69c504e9a", | |
"publisherId": "burtlo.inspec", | |
"publisherDisplayName": "burtlo" | |
}, | |
"name": "inspec", | |
"publisher": "burtlo", | |
"version": "0.5.2" | |
}, | |
{ | |
"metadata": { | |
"id": "cd596fa2-413d-4f31-af4d-c0184c50a10c", | |
"publisherId": "ivory-lab.jenkinsfile-support", | |
"publisherDisplayName": "ivory-lab" | |
}, | |
"name": "jenkinsfile-support", | |
"publisher": "ivory-lab", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a831e395-d150-46aa-8644-3027af1c5b36", | |
"publisherId": "dawhite.mustache", | |
"publisherDisplayName": "dawhite" | |
}, | |
"name": "mustache", | |
"publisher": "dawhite", | |
"version": "1.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "db870fe7-9274-4827-9667-c247f098f2f4", | |
"publisherId": "joelalejandro.nrql-language", | |
"publisherDisplayName": "joelalejandro" | |
}, | |
"name": "nrql-language", | |
"publisher": "joelalejandro", | |
"version": "0.0.1" | |
}, | |
{ | |
"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": "40d39ce9-c381-47a0-80c8-a6661f731eab", | |
"publisherId": "ms-vscode.powershell", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "powershell", | |
"publisher": "ms-vscode", | |
"version": "2020.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2020.6.91350" | |
}, | |
{ | |
"metadata": { | |
"id": "93ce222b-5f6f-49b7-9ab1-a0463c6238df", | |
"publisherId": "ms-vscode-remote.remote-containers", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-containers", | |
"publisher": "ms-vscode-remote", | |
"version": "0.128.0" | |
}, | |
{ | |
"metadata": { | |
"id": "607fd052-be03-4363-b657-2bd62b83d28a", | |
"publisherId": "ms-vscode-remote.remote-ssh", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-ssh", | |
"publisher": "ms-vscode-remote", | |
"version": "0.51.0" | |
}, | |
{ | |
"metadata": { | |
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c", | |
"publisherId": "ms-vscode-remote.remote-ssh-edit", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-ssh-edit", | |
"publisher": "ms-vscode-remote", | |
"version": "0.51.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f0c5397b-d357-4197-99f0-cb4202f22818", | |
"publisherId": "ms-vscode-remote.remote-wsl", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-wsl", | |
"publisher": "ms-vscode-remote", | |
"version": "0.44.4" | |
}, | |
{ | |
"metadata": { | |
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d", | |
"publisherId": "rebornix.ruby", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "ruby", | |
"publisher": "rebornix", | |
"version": "0.27.0" | |
}, | |
{ | |
"metadata": { | |
"id": "cb9cc98b-7140-4f13-b993-1e26c4a7bd42", | |
"publisherId": "Arjun.swagger-viewer", | |
"publisherDisplayName": "Arjun" | |
}, | |
"name": "swagger-viewer", | |
"publisher": "Arjun", | |
"version": "3.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b861aa84-146f-440f-b6be-76124b02b729", | |
"publisherId": "4ops.terraform", | |
"publisherDisplayName": "4ops" | |
}, | |
"name": "terraform", | |
"publisher": "4ops", | |
"version": "0.1.10" | |
}, | |
{ | |
"metadata": { | |
"id": "4a23294b-fd16-4c51-9759-da9936474cf8", | |
"publisherId": "hashicorp.terraform", | |
"publisherDisplayName": "hashicorp" | |
}, | |
"name": "terraform", | |
"publisher": "hashicorp", | |
"version": "2.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70", | |
"publisherId": "Gruntfuggly.todo-tree", | |
"publisherDisplayName": "Gruntfuggly" | |
}, | |
"name": "todo-tree", | |
"publisher": "Gruntfuggly", | |
"version": "0.0.178" | |
}, | |
{ | |
"metadata": { | |
"id": "893d887a-97ea-40e6-ae20-860eb6ad582e", | |
"publisherId": "bbenoist.vagrant", | |
"publisherDisplayName": "bbenoist" | |
}, | |
"name": "vagrant", | |
"publisher": "bbenoist", | |
"version": "0.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9deb2d0c-76ec-4e76-864e-0cd131ed2b6e", | |
"publisherId": "Darfka.vbscript", | |
"publisherDisplayName": "Darfka" | |
}, | |
"name": "vbscript", | |
"publisher": "Darfka", | |
"version": "1.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643", | |
"publisherId": "DavidAnson.vscode-markdownlint", | |
"publisherDisplayName": "DavidAnson" | |
}, | |
"name": "vscode-markdownlint", | |
"publisher": "DavidAnson", | |
"version": "0.36.1" | |
}, | |
{ | |
"metadata": { | |
"id": "75dba0f9-d5c5-4902-99c4-cd3d60ec7147", | |
"publisherId": "42Crunch.vscode-openapi", | |
"publisherDisplayName": "42Crunch" | |
}, | |
"name": "vscode-openapi", | |
"publisher": "42Crunch", | |
"version": "3.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "23d72dfc-8dd1-4e30-926e-8783b4378f13", | |
"publisherId": "ms-vscode-remote.vscode-remote-extensionpack", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "vscode-remote-extensionpack", | |
"publisher": "ms-vscode-remote", | |
"version": "0.20.0" | |
}, | |
{ | |
"metadata": { | |
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b", | |
"publisherId": "wingrunr21.vscode-ruby", | |
"publisherDisplayName": "wingrunr21" | |
}, | |
"name": "vscode-ruby", | |
"publisher": "wingrunr21", | |
"version": "0.27.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8a5184c4-a868-4f8b-a83b-919720eea954", | |
"publisherId": "jnbt.vscode-rufo", | |
"publisherDisplayName": "jnbt" | |
}, | |
"name": "vscode-rufo", | |
"publisher": "jnbt", | |
"version": "0.0.1" | |
}, | |
{ | |
"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": "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": "2061917f-f76a-458a-8da9-f162de22b97e", | |
"publisherId": "redhat.vscode-yaml", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "vscode-yaml", | |
"publisher": "redhat", | |
"version": "0.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444", | |
"publisherId": "VisualStudioExptTeam.vscodeintellicode", | |
"publisherDisplayName": "VisualStudioExptTeam" | |
}, | |
"name": "vscodeintellicode", | |
"publisher": "VisualStudioExptTeam", | |
"version": "1.2.9" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.2427" | |
}, | |
{ | |
"metadata": { | |
"id": "ec0a68f4-7ba0-42eb-b1f4-b6ef4f1755a7", | |
"publisherId": "mikeburgh.xml-format", | |
"publisherDisplayName": "mikeburgh" | |
}, | |
"name": "xml-format", | |
"publisher": "mikeburgh", | |
"version": "1.0.2" | |
} | |
] |
This file contains 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
{ | |
"workbench.colorTheme": "Monokai Dimmed", | |
"editor.tabSize": 2, | |
"editor.minimap.enabled": false, | |
"terraform.indexing": { | |
"enabled": false, | |
"liveIndexing": false, | |
"delay": 500, | |
"exclude": [ | |
".terraform/**/*", | |
"**/.terraform/**/*" | |
] | |
}, | |
"terraform.languageServer": { | |
"external": true, | |
"args": [ | |
"serve" | |
] | |
}, | |
"git.autofetch": true, | |
"window.zoomLevel": 0, | |
"go.inferGopath": true, | |
"todo-tree.highlights.enabled": true, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"files.associations": { | |
"*.jenkinsfile": "groovy" | |
}, | |
"todo-tree.tree.showScanModeButton": false, | |
"terraform.lintPath": "/usr/local/tflint/bin/tflint", | |
"remote.SSH.remotePlatform": { | |
"157.245.122.77": "linux", | |
"172.17.159.59": "linux" | |
}, | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"sync.gist": "e7f2adf09b4ac6f33da0e9c29500a6f3" | |
} |
This file contains 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 dockerfile 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" | |
// } | |
"Bash RUN Continuation" : { | |
"prefix": "brcnt", | |
"body": "&& \\\n" | |
} | |
} |
This file contains 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 groovy 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" | |
// } | |
"AT Job With Credentials Step": { | |
"prefix": "at_with_creds", | |
"body": [ | |
"stage ('$1') {", | |
" steps {", | |
" script {", | |
" withCredentials([usernamePassword(credentialsId: 'ORG_GRADLE_PROJECT_CAI_ARTIFACTORY_AT', passwordVariable: 'ORG_GRADLE_PROJECT_CAI_ARTIFACTORY_API_KEY', usernameVariable: 'ORG_GRADLE_PROJECT_CAI_ARTIFACTORY_USER')]) {", | |
" $2", | |
" }", | |
" }", | |
" }", | |
"}" | |
] | |
}, | |
"Jenkins Seed Template": { | |
"prefix": "jenk_seed_template", | |
"body": [ | |
"#!groovy", | |
"import groovy.json.JsonSlurper", | |
"import jenkins.*", | |
"import jenkins.model.*", | |
"import hudson.*", | |
"import hudson.model.*", | |
"", | |
"/*", | |
"PROPERTIES", | |
"=======================================================================================================================", | |
"name: name of the Jenkins pipeline getting created", | |
"description description of the Jenkins job", | |
"repo: ssh uri to git repository", | |
"branch: branch in git repository to clone", | |
"scriptpath: path to Jenkinsfile", | |
"authusers: array of users to get full permissions to the job", | |
"========================================================================================================================", | |
"*/", | |
"[", | |
" [", | |
" name: '$1',", | |
" description: '$2',", | |
" repo: '$3',", | |
" branch: '$4',", | |
" scriptpath: '$5',", | |
" numToKeep: '20',", | |
" authusers: ['jeffrey.dickerson','christopher.joanino','eric.keeling','jaydee.jackson','nicholas.christen'$6]", | |
" ]", | |
"].each { config ->", | |
" pipelineJob(config.name) {", | |
" definition {", | |
" description(config.description)", | |
" cpsScm {", | |
" scm {", | |
" git {", | |
" remote {", | |
" name('origin')", | |
" url(config.repo)", | |
" branch(config.branch)", | |
" credentials(\"GITHUB_cmsbuilds\")", | |
" }", | |
" }", | |
" }", | |
" scriptPath(config.scriptpath)", | |
" }", | |
" }", | |
"", | |
" properties {", | |
" buildDiscarderProperty {", | |
" strategy {", | |
" logRotator {", | |
" numToKeepStr(config.numToKeep)", | |
" daysToKeepStr('')", | |
" artifactDaysToKeepStr('')", | |
" artifactNumToKeepStr('')", | |
" }", | |
" }", | |
" }", | |
" }", | |
"", | |
" if(config.authusers) {", | |
" authorization {", | |
" blocksInheritance(false)", | |
" config.authusers.each { authuser ->", | |
" permission('hudson.model.Item.Discover', authuser)", | |
" permission('hudson.model.Item.Read', authuser)", | |
" permission('hudson.model.Item.Build', authuser)", | |
" permission('hudson.model.Item.Cancel', authuser)", | |
" permission('hudson.model.Item.ViewStatus', authuser)", | |
" permission('hudson.model.Item.Workspace', authuser)", | |
" }", | |
" }", | |
" }", | |
" ", | |
" parameters {", | |
" $7", | |
" //stringParam(\"PRODUCT_VERSION\", \"\", \"The version of the software that is being built.\")", | |
" // choiceParam(\"GIT_BRANCH\", ['develop','feature/SpecialHandlingParser'], \"The git branch to build from.\")", | |
"", | |
" // gitParameterDefinition {", | |
" // name('GIT_BRANCH')", | |
" // description('Select the branch to build')", | |
" // type('PT_BRANCH')", | |
" // branch('')", | |
" // branchFilter('.*')", | |
" // tagFilter('*')", | |
" // defaultValue('')", | |
" // sortMode('DESCENDING_SMART')", | |
" // selectedValue('TOP')", | |
" // useRepository('git@ghe.coxautoinc.com:CMS/CMS-Shipping.git')", | |
" // quickFilterEnabled(false)", | |
" // // listSize(10)", | |
" // }", | |
" }", | |
" }", | |
"}" | |
] | |
} | |
} |
This file contains 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 jenkinsfile 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" | |
// } | |
"jenkins_pipeline": { | |
"prefix": "pipeline", | |
"body": [ | |
"pipeline {", | |
"\tagent {", | |
"\t\tlabel '$1'", | |
"\t}", | |
"", | |
"\tstages {", | |
"\t\tstage('$2') {", | |
"\t\t\tsteps {", | |
"\t\t\t}", | |
"\t\t}", | |
"\t}", | |
"}" | |
] | |
}, | |
"art_publish": { | |
"prefix": "art_publish", | |
"body": [ | |
"stage('$1') {", | |
"\tsteps {", | |
"\t\tscript {", | |
"\t\t\tdef artifactoryServer = Artifactory.server 'CAI_Corporate_Artifactory'", | |
"", | |
"\t\t\tdef uploadSpec = \"\"\"{", | |
"\t\t\t\t\"files\": [", | |
"\t\t\t\t\t{", | |
"\t\t\t\t\t\t\"pattern\": \"$2\",", | |
"\t\t\t\t\t\t\"target\": \"$3\"", | |
"\t\t\t\t\t}", | |
"\t\t\t\t]", | |
"\t\t\t}\"\"\"", | |
"", | |
"\t\t\tartifactoryServer.upload(uploadSpec)", | |
"\t\t}", | |
"\t}", | |
"}" | |
] | |
}, | |
"art_pull": { | |
"prefix": "art_pull", | |
"body": [ | |
"stage('$1') {", | |
"\tsteps {", | |
"\t\tscript {", | |
"\t\t\tdef downloadSpec = \"\"\"{", | |
"\t\t\t\t\"files\": [", | |
"\t\t\t\t\t{", | |
"\t\t\t\t\t\t\"pattern\": \"$2\",", | |
"\t\t\t\t\t\t\"target\": \"$3\"", | |
"\t\t\t\t\t}", | |
"\t\t\t\t]", | |
"\t\t\t}\"\"\"", | |
"", | |
"\t\t\tdef artifactoryServer = Artifactory.server 'CAI_Corporate_Artifactory'", | |
"", | |
"\t\t\tartifactoryServer.download(downloadSpec)", | |
"\t\t}", | |
"\t}", | |
"}" | |
] | |
}, | |
"stage": { | |
"prefix": "stage", | |
"body": [ | |
"stage('$1') {", | |
"\tsteps {", | |
"\t\t$2", | |
"\t}", | |
"}" | |
] | |
}, | |
"git_stage": { | |
"prefix": "git_stage", | |
"body": [ | |
"stage (\"Checkout\") {", | |
"\tsteps {", | |
"\t\tgit branch: '$1', credentialsId: '$2', url: '$3'", | |
"\t}", | |
"}" | |
] | |
}, | |
"jenkins_git_stage": { | |
"prefix": "git_detailed_stage", | |
"body": [ | |
"stage('$1') {", | |
" steps {", | |
" checkout([", | |
" $$class: 'GitSCM',", | |
" branches: [[name: \"*/$2\"]],", | |
" doGenerateSubmoduleConfiguration: false,", | |
" extensions: [[", | |
" $$class: 'RelativeTargetDirectory',", | |
" relativeTargetDir: \"$3\"", | |
" ]],", | |
" submoduleCfg: [],", | |
" userRemoteConfigs: [[", | |
" credentialsId: 'GITHUB_cmsbuilds',", | |
" url: \"$4\"", | |
" ]]", | |
" ])", | |
" }", | |
"}" | |
] | |
} | |
} |
This file contains 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 makefile 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" | |
// } | |
"Bash Continued Line": { | |
"prefix": "bcnt", | |
"body": "&&\\\n" | |
}, | |
"PowerShell Continued Line": { | |
"prefix": "pcnt", | |
"body": ";\\\n" | |
}, | |
"PowerShell Command": { | |
"prefix": "pwsh_cmd", | |
"body": "@pwsh.exe -NoProfile -Command \"& { $1 }\"" | |
} | |
} |
This file contains 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 powershell 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" | |
// } | |
"Mandatory positional parameter": { | |
"prefix": "man_pos_par", | |
"body": [ | |
"[Parameter(Mandatory = $$true, Position = $1)]", | |
"[$2]$$3" | |
] | |
}, | |
"Optional positional parameter": { | |
"prefix": "opt_pos_par", | |
"body": [ | |
"[Parameter(Mandatory = $$false)]", | |
"[$2]$$3" | |
] | |
}, | |
"Parameter validate set": { | |
"prefix": "val_set", | |
"body": "[ValidateSet($1)]" | |
} | |
} |
This file contains 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 python 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" | |
// } | |
"Main Header": { | |
"prefix": "main_header", | |
"body": [ | |
"# Maintainer: CMS Platform Engineering Services", | |
"# Contact: CMS-SuperSmashCrew@coxautoinc.com", | |
"# ", | |
"# Description: $1", | |
"# README: $2", | |
"# _________________", | |
"# ", | |
"# Copyright 2020 Cox Automotive Incorporated", | |
"# All Rights Reserved." | |
] | |
}, | |
"Standard Header": { | |
"prefix": "standard_header", | |
"body": [ | |
"# Maintainer: CMS Platform Engineering Services", | |
"# Contact: CMS-SuperSmashCrew@coxautoinc.com", | |
"# ", | |
"# Description: $1", | |
"# README: $2", | |
"# _________________", | |
"# ", | |
"# Copyright 2020 Cox Automotive Incorporated", | |
"# All Rights Reserved." | |
] | |
} | |
} |
This file contains 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 terraform 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" | |
// } | |
"Block Comment": { | |
"prefix": "block_comment", | |
"body": [ | |
"/*", | |
"* $1", | |
"*/" | |
] | |
}, | |
"Variable Block": { | |
"prefix": "variable_block", | |
"body": [ | |
"variable \"$1\" {", | |
" default = \"$2\"", | |
"}" | |
] | |
}, | |
"Variable Block Comment": { | |
"prefix": "variable_block_comment", | |
"body": [ | |
"/*", | |
"* Description\t\t: $1", | |
"* Type\t\t\t\t\t: $2", | |
"* Forces New\t\t: $3", | |
"* Value Type\t\t: $4", | |
"* Reference\t\t\t: $5", | |
"*/" | |
] | |
}, | |
"Data Block": { | |
"prefix": "data_block", | |
"body": [ | |
"data \"$1\" \"$2\" {", | |
" $3", | |
"}" | |
] | |
}, | |
"Data Source Block Comment": { | |
"prefix": "data_source_block_comment", | |
"body": [ | |
"/*", | |
"* Description\t\t: $1", | |
"* Reference\t\t\t: $2", | |
"*/" | |
] | |
}, | |
"Resource Block Comment": { | |
"prefix": "resource_block_comment", | |
"body": [ | |
"/*", | |
"* Description\t\t: $1", | |
"* Reference\t\t\t: $2", | |
"*/" | |
] | |
}, | |
"Output Block Comment": { | |
"prefix": "output_block_comment", | |
"body": [ | |
"/*", | |
"* Description\t\t: $1", | |
"*/" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment