Skip to content

Instantly share code, notes, and snippets.

@stevepond
Last active June 7, 2019 18:25
Show Gist options
  • Select an option

  • Save stevepond/20d80d6b04d263e8abe783086d76c3d5 to your computer and use it in GitHub Desktop.

Select an option

Save stevepond/20d80d6b04d263e8abe783086d76c3d5 to your computer and use it in GitHub Desktop.
vscode settings
{"lastUpload":"2019-06-07T18:25:37.828Z","extensionVersion":"v3.2.9"}
[
{
"metadata": {
"id": "fd6862de-d2d9-4d13-9683-56f58b362a3a",
"publisherId": "DevonDCarew.bazel-code",
"publisherDisplayName": "DevonDCarew"
},
"name": "bazel-code",
"publisher": "DevonDCarew",
"version": "0.1.9"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.9"
},
{
"metadata": {
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "1.7.16"
},
{
"metadata": {
"publisherId": "evanm.g3",
"publisherDisplayName": "evanm"
},
"name": "g3",
"publisher": "evanm",
"version": "0.0.13"
},
{
"metadata": {
"id": "8bb12ae3-73f8-40cf-86b7-4bd5729c6238",
"publisherId": "GrapeCity.gc-excelviewer",
"publisherDisplayName": "GrapeCity"
},
"name": "gc-excelviewer",
"publisher": "GrapeCity",
"version": "2.1.32"
},
{
"metadata": {
"id": "3934094f-7995-4bb1-80bd-51c642531ff8",
"publisherId": "mrcrowl.hg",
"publisherDisplayName": "mrcrowl"
},
"name": "hg",
"publisher": "mrcrowl",
"version": "1.3.0"
},
{
"metadata": {
"id": "5d6798de-490c-4b6a-92c8-cc98b6d92647",
"publisherId": "xabikos.JasmineSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JasmineSnippets",
"publisher": "xabikos",
"version": "1.0.1"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.Material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "Material-theme",
"publisher": "zhuangtongfa",
"version": "2.24.1"
},
{
"metadata": {
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92",
"publisherId": "azemoh.one-monokai",
"publisherDisplayName": "azemoh"
},
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.3.7"
},
{
"metadata": {
"id": "96c4f594-dc9b-4f16-be37-99a4680493b6",
"publisherId": "axiomaticstudios.one-monokai-80s",
"publisherDisplayName": "axiomaticstudios"
},
"name": "one-monokai-80s",
"publisher": "axiomaticstudios",
"version": "1.3.16"
},
{
"metadata": {
"id": "362d5faf-824c-4e3c-9b1c-73a3df6ce8e4",
"publisherId": "ms-vscode.Theme-1337",
"publisherDisplayName": "ms-vscode"
},
"name": "Theme-1337",
"publisher": "ms-vscode",
"version": "0.1.4"
},
{
"metadata": {
"id": "826d97bc-56ff-4fcd-88eb-1bf4092427fd",
"publisherId": "bubersson.theme-hop-light",
"publisherDisplayName": "bubersson"
},
"name": "theme-hop-light",
"publisher": "bubersson",
"version": "0.0.4"
},
{
"metadata": {
"id": "9001c3f8-94bf-484d-92fc-07f2fd03ff5e",
"publisherId": "ms-vscode.Theme-MarkdownKit",
"publisherDisplayName": "ms-vscode"
},
"name": "Theme-MarkdownKit",
"publisher": "ms-vscode",
"version": "0.1.4"
},
{
"metadata": {
"id": "f5d7ffda-c1d6-4070-ba80-803c705a1ee6",
"publisherId": "monokai.theme-monokai-pro-vscode",
"publisherDisplayName": "monokai"
},
"name": "theme-monokai-pro-vscode",
"publisher": "monokai",
"version": "1.1.13"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.43"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.8.1"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "2.9.0"
},
{
"metadata": {
"id": "b476195a-5d3b-4a10-af0b-3d94f9c9f924",
"publisherId": "yatki.vscode-surround",
"publisherDisplayName": "yatki"
},
"name": "vscode-surround",
"publisher": "yatki",
"version": "1.0.2"
},
{
"metadata": {
"id": "d64b9a43-2c4d-4add-a4b0-1109edbfc838",
"publisherId": "sadesyllas.vscode-workspace-switcher",
"publisherDisplayName": "sadesyllas"
},
"name": "vscode-workspace-switcher",
"publisher": "sadesyllas",
"version": "1.13.1"
},
{
"metadata": {
"id": "35e4102c-97db-4bb9-952a-4b725fb00bc9",
"publisherId": "konstantin.wrapSelection",
"publisherDisplayName": "konstantin"
},
"name": "wrapSelection",
"publisher": "konstantin",
"version": "0.6.8"
}
]
{
"window.zoomLevel": 2,
"typescript.tsserver.trace":"verbose",
"files.autoSave": "afterDelay",
"terminal.integrated.shell.osx":"/Users/spond/code-shell",
"editor.minimap.enabled":false,
"workbench.editor.showTabs":false,
"terminal.integrated.fontSize":10,
"workbench.panel.defaultLocation":"right",
"files.exclude": {
"**/.DS_Store": true,
"**/.git": false,
"**/.hg": true,
"**/.svn": true,
"**/*.orig": true,
"**/*.rej": true,
"**/CVS": true
},
"cSpell.userWords": [
"APOTHECAE",
"Angular's",
"Appscripts",
"Debounced",
"Queueable",
"Snackbar",
"Validators",
"apotheca",
"appsscript",
"backend",
"batch",
"be",
"bulkedit",
"create",
"ct",
"datetime",
"default",
"deserialize",
"disjunction",
"dropdown",
"ductbank",
"edgesplice",
"fasma",
"fbkt",
"fiberstrand",
"fiberstrands",
"gapi",
"geopath",
"hoverable",
"id",
"indicator",
"injectable",
"innerduct",
"latlng",
"lightup",
"list",
"nexted",
"ngsummary",
"nonmodal",
"nullability",
"open",
"options",
"progress",
"rackview",
"reinstantiate",
"rews",
"scrollable",
"selectable",
"seps",
"service",
"sidenav",
"spyable",
"thoraxbulkedit",
"thoraxbulkeditpost",
"to",
"truthy",
"usca",
"uuids",
"waitable",
"waitables",
"waitmanager",
"xpath"
],
"terminal.integrated.rendererType": "dom",
"typescript.updateImportsOnFileMove.enabled": "always",
"vim.disableExtension": false,
"terminal.integrated.copyOnSelection": true,
"vscodeWorkspaceSwitcher.paths": [
"/Users/spond"
],
"vim.handleKeys": {
"<C-k>": false
},
"search.exclude": {
"**/*.orig": true
},
"sync.gist": "20d80d6b04d263e8abe783086d76c3d5",
"sync.autoDownload": true,
"sync.autoUpload": true,
"sync.quietSync": true,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.forceDownload": false,
"extensions.ignoreRecommendations": true,
"workbench.activityBar.visible": false,
"workbench.statusBar.visible": false,
"workbench.sideBar.location": "left",
"workbench.colorCustomizations": {
"statusBar.background": "#303030",
"activityBarBadge.background": "#FFA000",
"list.activeSelectionForeground": "#FFA000",
"list.inactiveSelectionForeground": "#FFA000",
"list.highlightForeground": "#FFA000",
"scrollbarSlider.activeBackground": "#FFA00050",
"editorSuggestWidget.highlightForeground": "#FFA000",
"textLink.foreground": "#FFA000",
"progressBar.background": "#FFA000",
"pickerGroup.foreground": "#FFA000",
"tab.activeBorder": "#FFA000",
"notificationLink.foreground": "#FFA000",
"editorWidget.resizeBorder": "#FFA000",
"editorWidget.border": "#FFA000",
"settings.modifiedItemIndicator": "#FFA000",
"settings.headerForeground": "#FFA000",
"panelTitle.activeBorder": "#FFA000",
"breadcrumb.activeSelectionForeground": "#FFA000",
"menu.selectionForeground": "#FFA000",
"menubar.selectionForeground": "#FFA000"
},
"window.titleBarStyle": "native",
"editor.rulers": [80],
"editor.detectIndentation": false,
"editor.tabSize": 2,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"typescript.tsdk": "/google/src/head/depot/google3/javascript/typescript/contrib/remote_tslib/tslib",
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"[typescript]": {
"editor.formatOnSave": true
},
"tslint.configFile": "/google/data/ro/teams/typescript/tslint/node_modules/google.tslint.json",
"tslint.nodePath": "/usr/lib/node_modules",
"files.associations": {
"BUILD": "bazel",
"METADATA": "bazel",
"WORKSPACE": "bazel",
"*.gss": "css"
},
"[bazel]": {
"editor.formatOnSave": true
},
"[html]": {
"editor.rulers": [100]
},
"html.format.wrapLineLength": 100,
"html.format.wrapAttributes": "force-aligned",
"html.format.enable": true,
"terminal.external.osxExec": "/usr/local/google/home/spond/code-shell",
"materialTheme.accent": "Yellow",
"workbench.iconTheme": "Monokai Pro (Filter Octagon) Icons",
"editor.fontFamily": "Source Code Pro, Menlo, Monaco, 'Courier New', monospace",
"workbench.colorTheme": "Material Theme Darker",
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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": {
"scope": "javascript,typescript",
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
},
"createSpy": {
"scope": "javascript,typescript",
"prefix": "createSpy",
"body": [
"$1: jasmine.createSpy('$1'),",
"$0"
],
},
"model": {
"scope": "javascript,typescript",
"prefix": "model",
"body": [
"import * as ts from 'google3/google/internal/network/inventory/angular2_thorax_service';",
"import {Injectable} from '@angular/core';",
"import {ServiceDefinition} from './base';",
"",
"/** @see http://go/thorax-entity/$1.md */",
"export class $2 extends ts.$2 {",
"}",
"",
"/** @see http://go/thorax-entity/$1.md */",
"@Injectable({providedIn: 'root'})",
"export class $2Service {",
" constructor(",
" private readonly client: ts.$2sApiClient,",
" ) {}",
"",
" private readonly base = new ServiceDefinition(this.client, {",
" fromGet: r => r.$3,",
" fromList: r => r.$3s,",
" toModel: r => new $2(r),",
" });",
"",
" readonly get = this.base.getByPk();",
" readonly getByName = this.base.getByField('name');",
" readonly deleteByUuid = this.base.deleteByField('uuid');",
"}",
],
},
"fakeService": {
"scope": "javascript,typescript",
"prefix": "fakeService",
"body": [
"let fake$1Service: Spyable<$1Service>;",
"fake$1Service = {};",
"{provide: $1Service, useValue: fake$1Service}",
],
},
"dep": {
"scope": "javascript,typescript",
"prefix": "dep",
"body": [
"private readonly $1: $2,",
],
},
"save": {
"scope": "javascript,typescript",
"prefix": "save",
"body": [
" save($1: $2): Observable<$2> {",
" return $1.uuid ?",
" this.client",
" .patch(",
" $1.uuid,",
" new ts.Update$2Request({$1}))",
" .pipe(",
" tap(({numUpdated}) => {",
" if (1 !== numUpdated) {",
" throw new Error(",
" `Actual updated ${numUpdated || 0}, expected 1`);",
" }",
" }),",
" mapTo($1),",
" ) :",
" this.client.create($1)",
" .pipe(",
" map(({$1}) => new $2($1!)),",
" );",
" }",
],
},
"batchSave": {
"scope": "javascript,typescript",
"prefix": "batchSave",
"body": [
" batchSave($1: $2[]): Observable<$2[]> {",
" if (assert($1[0]).uuid) {",
" const request = new ts.BatchUpdate$2Request({$1});",
" return this.client.batchUpdate(request).pipe(",
" tap(({status}) => throwErrorsForBatchUpdateStatus(status, '$2')),",
" mapTo($1),",
" );",
" } else {",
" const request = new ts.BatchCreate$2Request({$2});",
" return this.client.batchCreate(request).pipe(",
" tap(({status}) => throwErrorsForBatchCreateStatus(status, '$2')),",
" mergeMap(({$1}) => $1 || []),",
" map($3 => new $2($3)),",
" toArray(),",
" );",
" }",
],
},
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages. 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": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment