Skip to content

Instantly share code, notes, and snippets.

@thitemple
Last active January 29, 2019 19:06
Show Gist options
  • Save thitemple/5310eec06916a5ed9bab923a9ae5823f to your computer and use it in GitHub Desktop.
Save thitemple/5310eec06916a5ed9bab923a9ae5823f to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-01-29T19:05:58.209Z","extensionVersion":"v3.2.4"}
[
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.4"
},
{
"metadata": {
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "1.6.10"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.11.1"
},
{
"metadata": {
"id": "9b2a2971-2be0-4f76-8c04-b0a7ef334eeb",
"publisherId": "KishoreIthadi.dotnet-core-essentials",
"publisherDisplayName": "KishoreIthadi"
},
"name": "dotnet-core-essentials",
"publisher": "KishoreIthadi",
"version": "0.0.6"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "1.9.5"
},
{
"metadata": {
"id": "53ceb0a7-7e7a-4f26-a91d-084f3d714420",
"publisherId": "lkytal.FlatUI",
"publisherDisplayName": "lkytal"
},
"name": "FlatUI",
"publisher": "lkytal",
"version": "1.4.9"
},
{
"metadata": {
"id": "2335b326-c334-4e81-bc51-c408fcec6e7c",
"publisherId": "waderyan.gitblame",
"publisherDisplayName": "waderyan"
},
"name": "gitblame",
"publisher": "waderyan",
"version": "2.6.3"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "9.4.1"
},
{
"metadata": {
"id": "3e8a391a-f3f0-44b2-8631-7847b0c8839a",
"publisherId": "kumar-harsh.graphql-for-vscode",
"publisherDisplayName": "kumar-harsh"
},
"name": "graphql-for-vscode",
"publisher": "kumar-harsh",
"version": "1.13.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.6.2"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "1.7.3"
},
{
"metadata": {
"id": "8a8e3e61-d49b-47f8-b98f-b7169d624b29",
"publisherId": "jaredly.reason-vscode",
"publisherDisplayName": "jaredly"
},
"name": "reason-vscode",
"publisher": "jaredly",
"version": "1.5.1"
},
{
"metadata": {
"id": "c7ccccce-e272-43df-883f-91f3de932890",
"publisherId": "freebroccolo.reasonml",
"publisherDisplayName": "freebroccolo"
},
"name": "reasonml",
"publisher": "freebroccolo",
"version": "1.0.38"
},
{
"metadata": {
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1",
"publisherId": "dracula-theme.theme-dracula",
"publisherDisplayName": "dracula-theme"
},
"name": "theme-dracula",
"publisher": "dracula-theme",
"version": "2.15.0"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "PeterJausovec.vscode-docker",
"publisherDisplayName": "PeterJausovec"
},
"name": "vscode-docker",
"publisher": "PeterJausovec",
"version": "0.5.1"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.8.0"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "1.0.4"
}
]
// Place your settings in this file to overwrite the default settings
{
"editor.fontFamily": "Fira Code",
"editor.lineHeight": 24,
"explorer.decorations.badges": false,
"editor.fontSize": 16,
"editor.fontLigatures": true,
"window.zoomLevel": 0,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"node_modules": true,
"bower_components": true,
"**/*.orig": true,
"build": true,
"elm-stuff": true
},
"workbench.colorTheme": "Dracula",
"typescript.referencesCodeLens.enabled": true,
"typescript.implementationsCodeLens.enabled": true,
"cSpell.userWords": [
"Modernizr",
"RBGA",
"Truthy",
"eofline",
"quotemark",
"transcluded",
"typeof"
],
"editor.minimap.enabled": false,
"extensions.ignoreRecommendations": true,
"workbench.iconTheme": "material-icon-theme",
"gitlens.keymap": "chorded",
"window.menuBarVisibility": "toggle",
"git.confirmSync": false,
"sync.gist": "5310eec06916a5ed9bab923a9ae5823f",
"sync.lastUpload": "2018-07-24T02:09:58.587Z",
"sync.autoDownload": true,
"sync.autoUpload": true,
"sync.lastDownload": "2018-07-30T19:42:57.741Z",
"sync.forceDownload": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 3000,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true
},
"cSpell.enabledLanguageIds": [
"asciidoc",
"c",
"cpp",
"csharp",
"css",
"elm",
"fsharp",
"go",
"handlebars",
"html",
"jade",
"javascript",
"javascriptreact",
"json",
"latex",
"less",
"markdown",
"php",
"plaintext",
"pub",
"python",
"restructuredtext",
"rust",
"scss",
"text",
"typescript",
"typescriptreact",
"yml"
],
"gitlens.historyExplorer.enabled": true,
"editor.folding": false,
"editor.glyphMargin": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.minimap.renderCharacters": true,
"editor.renderIndentGuides": true,
"editor.autoClosingQuotes": "always",
}
{
"Update suite of tests": {
"prefix": "suiteup",
"body": [
"module Pages.$1.UpdateTests exposing (suite)",
"",
"import Expect",
"import Pages.$1.Messages exposing (Msg(..))",
"import Pages.$1.Model",
"\texposing",
"\t\t( Model",
"\t\t, init",
"\t\t)",
"import Pages.$1.Update exposing (update)",
"import Test exposing (..)",
"",
"",
"model : Model",
"model =",
"\tinit",
"",
"",
"runUpdate : Msg -> Model -> Model",
"runUpdate msg model =",
"\tupdate Nothing msg model",
"\t\t|> Tuple.first",
"",
"",
"suite : Test",
"suite =",
"\tdescribe \"$2\"",
"\t\t[ $3 ]"
]
},
"Page messages": {
"prefix": "pagemsg",
"body": [
"module Pages.$1.Messages exposing (Msg(..))",
"",
"",
"type Msg",
"\t= $2"
]
},
"Page model": {
"prefix": "pagemdl",
"body": [
"module Pages.$1.Model",
"\texposing",
"\t\t( Model",
"\t\t, init",
"\t\t)",
"",
"",
"type alias Model =",
"\t{ $2",
"\t}",
"",
"",
"init : Model",
"init =",
"\t{ $3 }"
]
},
"Page update": {
"prefix": "pageupd",
"body": [
"module Pages.$1.Update",
"\texposing",
"\t\t( onArrival",
"\t\t, update",
"\t\t)",
"",
"import Messages as RootMsg",
"import Model as RootModel",
"import Pages.$1.Messages exposing (Msg(..))",
"import Pages.$1.Model exposing (Model)",
"import RemoteData exposing (RemoteData(..))",
"import Routing.Route as Route exposing (VerificationStep)",
"import Routing.Router exposing (VerificationResult(..))",
"import Types exposing (SessionInfo)",
"import Util exposing ((=>))",
"",
"",
"onArrival : Maybe SessionInfo -> VerificationStep RootModel.Model RootMsg.Msg",
"onArrival sessionInfo { model } =",
"\tAllowed",
"\t\t(model",
"\t\t\t=> Cmd.batch []",
"\t\t)",
"",
"",
"update : Maybe SessionInfo -> Msg -> Model -> ( Model, Cmd RootMsg.Msg )",
"update sessionInfo msg model =",
"\tcase msg of",
"\t\t_$2 ->",
"\t\t\tmodel => Cmd.none"
]
},
"Page view": {
"prefix": "pageview",
"body": [
"module Pages.$1.View exposing (view)",
"",
"import Html exposing (..)",
"import Html.Attributes exposing (class)",
"import Pages.$1.Messages exposing (Msg(..))",
"import Pages.$1.Model exposing (Model)",
"import Routing.Route as Route",
"",
"",
"view : Model -> Html Msg",
"view model =",
"\tdiv []",
"\t\t[ $2 ]"
]
},
"Page commands": {
"prefix": "pagecmd",
"body": [
"module Pages.$1.Commands exposing ($2)",
"",
"import Api.Decoders as Decoders",
"import Api.Encoders as Encoders",
"import Api.Http as Api exposing (EndPoint(..))",
"import Http",
"import Messages as RootMsg",
"import Pages.$1.Messages exposing (Msg(..))",
"import Types",
"\texposing",
"\t\t( SessionInfo",
"\t\t, $3",
"\t\t)",
"",
"",
"$2 : Maybe SessionInfo -> Cmd RootMsg.Msg",
"$2 sessionInfo =",
"\t$4"
]
},
"Import model from page": {
"prefix": "impmdl",
"body": "import Pages.$1.Model as $2Model"
},
"Import view from page": {
"prefix": "impview",
"body": "import Pages.$1.View as $2View"
},
"Import msg from page": {
"prefix": "impmsg",
"body": "import Pages.$1.Messages as $2Msg"
},
"Import upd from page": {
"prefix": "impupd",
"body": "import Pages.$1.Update as $2Update"
},
"Import cmd from page": {
"prefix": "impcmd",
"body": "import Pages.$1.Commands as $2Cmd"
},
"Case of view": {
"prefix": "caseofview",
"body": [
"\t\t$1 model_ ->",
"\t\t\t$1View.view $2model_",
"\t\t\t\t|> Html.map $1Msg",
"\t\t\t\t|> frame Page.Standard"
]
},
"Get request": {
"prefix": "apiget",
"body": [
"$1 : Maybe SessionInfo -> Cmd RootMsg.Msg",
"$1 sessionInfo =",
"\tApi.get",
"\t\t{ url = $2 |> Api.endpointToUrl",
"\t\t, expect = Http.expectJson Decoders.$3",
"\t\t, sessionInfo = sessionInfo",
"\t\t}",
"\t\t($4 >> RootMsg.$5)"
]
},
"Post request": {
"prefix": "apipost",
"body": [
"$1 : Maybe SessionInfo -> $2 -> Cmd RootMsg.Msg",
"$1 sessionInfo $3 =",
"\tApi.post",
"\t\t{ url = $4 |> Api.endpointToUrl",
"\t\t, expect = Http.expectJson Decoders.$5",
"\t\t, sessionInfo = sessionInfo",
"\t\t, jsonBody = Encoders.encode$6",
"\t\t}",
"\t\t($7 >> RootMsg.$8)"
]
}
}
{
// Place your snippets for markdown 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"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment