Skip to content

Instantly share code, notes, and snippets.

@pramodsankarl
Last active February 26, 2024 04:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pramodsankarl/1c53e0a11157da352a1f4500dcab8a58 to your computer and use it in GitHub Desktop.
Save pramodsankarl/1c53e0a11157da352a1f4500dcab8a58 to your computer and use it in GitHub Desktop.
{"lastUpload":"2019-11-08T19:36:36.975Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "36d2103d-ba17-4fb6-9e79-32118fe3d48f",
"publisherId": "natewallace.angular2-inline",
"publisherDisplayName": "natewallace"
},
"name": "angular2-inline",
"publisher": "natewallace",
"version": "0.0.17"
},
{
"metadata": {
"id": "fd6862de-d2d9-4d13-9683-56f58b362a3a",
"publisherId": "DevonDCarew.bazel-code",
"publisherDisplayName": "DevonDCarew"
},
"name": "bazel-code",
"publisher": "DevonDCarew",
"version": "0.1.9"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "10.5.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.0.28"
},
{
"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": "ed3d7ee9-a793-4092-bd26-c06819da7a1b",
"publisherId": "lucax88x.codeacejumper",
"publisherDisplayName": "lucax88x"
},
"name": "codeacejumper",
"publisher": "lucax88x",
"version": "2.1.6"
},
{
"metadata": {
"id": "e046ec1e-3907-466b-aaea-ff1956a46d27",
"publisherId": "jchannon.csharpextensions",
"publisherDisplayName": "jchannon"
},
"name": "csharpextensions",
"publisher": "jchannon",
"version": "1.3.1"
},
{
"metadata": {
"id": "25e38b8d-ff51-4c34-af36-b7b7961cf666",
"publisherId": "alexkrechik.cucumberautocomplete",
"publisherDisplayName": "alexkrechik"
},
"name": "cucumberautocomplete",
"publisher": "alexkrechik",
"version": "2.14.1"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.1"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.6"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.1.2"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "ee551ede-893b-40fa-b96c-99fed0e7dff2",
"publisherId": "janjoerke.jenkins-pipeline-linter-connector",
"publisherDisplayName": "janjoerke"
},
"name": "jenkins-pipeline-linter-connector",
"publisher": "janjoerke",
"version": "1.2.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.5.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.9.1"
},
{
"metadata": {
"id": "0d1241e3-fa60-4f24-8f2a-6d7085677c48",
"publisherId": "ionutvmi.path-autocomplete",
"publisherDisplayName": "ionutvmi"
},
"name": "path-autocomplete",
"publisher": "ionutvmi",
"version": "1.13.3"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "2.3.0"
},
{
"metadata": {
"id": "a7fa941e-bcda-486f-8141-8483a6286177",
"publisherId": "SonarSource.sonarlint-vscode",
"publisherDisplayName": "SonarSource"
},
"name": "sonarlint-vscode",
"publisher": "SonarSource",
"version": "1.11.0"
},
{
"metadata": {
"id": "1c014445-5a7f-4994-b0b3-75dce6a53891",
"publisherId": "miclo.sort-typescript-imports",
"publisherDisplayName": "miclo"
},
"name": "sort-typescript-imports",
"publisher": "miclo",
"version": "1.4.1"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.44"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "0.8.2"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.9.1"
},
{
"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": "9.5.0"
}
]
// Place your key bindings in this file to overwrite the defaults
[{
"key": "cmd+alt+L",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+c space",
"command": "extension.aceJump"
}
]
// Place your settings in this file to overwrite the default settings
{
"typescript.tsdk": "/Users/lakshmap/.nvm/versions/node/v8.9.4/lib/node_modules/typescript/lib",
"typescript.check.tscVersion": false,
"editor.fontFamily": "Fira Code, Monoid, Comic Sans MS, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 20,
"editor.tabSize": 2,
"editor.formatOnSave": false,
"window.zoomLevel": 0,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/ts/**/.js": true,
"**/ts/**/.js.map": true,
"**/ng-upgrade/**/*.js.map": true,
"**/ng-upgrade/**/*.js": true,
"_bundles/**/*.*": true,
"**/.cache-loader/**/*.*": true,
"**/build/static/**/*.*": true
},
"workbench.iconTheme": "material-icon-theme",
"editor.dragAndDrop": true,
"prettier.singleQuote": true,
"files.autoSave": "onFocusChange",
"http.proxyStrictSSL": false,
"tslint.configFile": "/Users/lakshmap/redbox-myadp-spa/fuse/projects/myadp/tslint.json",
"tslint.validateWithDefaultConfig": true,
"git.autofetch": true,
"search.exclude": {
"**/node_modules": false,
"**/bower_components": true,
"**/_packages": true,
"**/ts/**/.js": true,
"**/ts/**/.js.map": true,
"**/ng-upgrade/**/*.js.map": true,
"**/ng-upgrade/**/*.js": true,
"_bundles/**/*.*": true,
"**/.cache-loader/**/*.*": true,
"**/build/static/**/*.*": true
},
"path-autocomplete.extensionOnImport": true,
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"gitlens.historyExplorer.enabled": true,
"terminal.integrated.rendererType": "dom",
"typescript.updateImportsOnFileMove.enabled": "always",
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"markdown.extension.preview.autoShowPreviewToSide": true,
"prettier.printWidth": 120,
"search.usePCRE2": true,
"typescript.extension.sortImports.pathSortOrder": [
"package",
"relativeUpLevel",
"relativeDownLevel"
],
"typescript.extension.sortImports.sortMethod": "path",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"local-history.absolute": true,
"local-history.path": "/Users/lakshmap/.localhistory/redbox-myadp-spa",
"prettier.htmlWhitespaceSensitivity": "ignore",
"prettier.useTabs": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"git.enableSmartCommit": true,
"git.confirmSync": false,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"sync.gist": "1c53e0a11157da352a1f4500dcab8a58",
"sync.autoUpload": true,
"sync.autoDownload": true,
"sync.quietSync": true,
"sync.forceUpload": true,
"sync.forceDownload": true
}
{
// Place your snippets for bazel 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 TypeScript 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"
}
*/
"create spy object": {
"prefix": "spyob",
"body": [
"${1} = jasmine.createSpyObj<${2:any}>(${1}, [${3}]);",
"${1}.${3}[0].and.returnValue();"
],
"description": "Create spy object"
},
"@Component": {
"prefix": "@Component",
"description": "Creates a component definition",
"body": [
"import { Component } from '@angular/core';",
"",
"@Component({",
"\tselector: '${1:selector-name}',",
"\tstyleUrls: ['${1:selector-name}.component.css'],",
"\ttemplate: `",
"\t\t<div>",
"\t\t\t",
"\t\t</div>",
"\t`",
"})",
"export class ${3:Name}Component {",
"\tconstructor() {}",
"}"
]
},
"@Injectable": {
"prefix": "@Injectable",
"description": "Creates an @Injectable service",
"body": [
"import { Injectable } from '@angular/core';",
"",
"@Injectable()",
"export class ${1:Name}Service {",
"\tconstructor() {}",
"}"
]
},
"@NgModule": {
"prefix": "@NgModule",
"description": "Creates an @NgModule",
"body": [
"import { NgModule } from '@angular/core';",
"",
"@NgModule({",
"\timports: [],",
"\tdeclarations: [],",
"\tproviders: []",
"})",
"export class ${1:Name}Module {}"
]
},
"@Pipe": {
"prefix": "@Pipe",
"description": "Creates an @Pipe",
"body": [
"import { Pipe, PipeTransform } from '@angular/core';",
"",
"@Pipe({",
"\tname: '${1:selector-name}'",
"})",
"export class ${2:Name}Pipe implements PipeTransform {",
"\ttransform(value: any) {",
"\t\t$0",
"\t}",
"}"
]
},
"EspressoButton": {
"prefix": "Button",
"body": [
"import { ButtonComponent } from '@espresso/button';"
]
},
"LanguagePipe": {
"prefix": "Lang",
"body": [
"import { LanguagePipe } from '@myadp/common';"
]
},
"LanguageService": {
"prefix": "LanguageSer",
"body": [
"import { LanguageService } from '@myadp/common';"
]
},
"it(": {
"prefix": "it(",
"body": [
"it('${1:description}', () => {",
"});",
""
]
},
"describe(": {
"prefix": "describe(",
"body": [
"describe('${1:description}', () => {",
"});",
""
]
},
"@comptestsetup": {
"prefix": "@comptestsetup",
"body": [
"import { ${1:Name} } from './'",
"import { ComponentFixture, TestBed } from '@angular/core/testing';",
"import { By } from '@angular/platform-browser';",
"import { DebugElement } from '@angular/core';",
"import { MockComponent } from 'ng-mocks';",
"import { Mock } from 'ts-mocks';",
"",
"describe('${1:Name}', () => {",
"\tlet fixture: ComponentFixture<${1:Name}>;",
"\tlet component: ${1:Name};",
"\tlet domHelper: ComponentDOMHelper;",
"",
"\tbeforeEach(async() => {",
"\t\tTestBed.configureTestingModule({",
"\t\t\tdeclarations: [",
"\t\t\t\t${1:Name}",
"\t\t\t]",
"\t\t});",
"\t});",
"",
"",
"\tbeforeEach(() => {",
"\t\tfixture = TestBed.createComponent(${1:Name});",
"\t\tcomponent = fixture.componentInstance;",
"\t\tdomHelper = new ComponentDOMHelper(fixture.debugElement);",
"\t});",
"",
"",
"\tclass ComponentDOMHelper {",
"\t\tconstructor(private debugElement: DebugElement) {}",
"\t}",
"});",
""
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment