Skip to content

Instantly share code, notes, and snippets.

@sarink
Last active April 29, 2020 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sarink/28550612de0024358a5461b1aabe52ae to your computer and use it in GitHub Desktop.
Save sarink/28550612de0024358a5461b1aabe52ae to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-01T15:56:19.123Z","extensionVersion":"v3.4.3"}
[
{
"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": "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.14.4"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.22.0"
},
{
"metadata": {
"id": "e4e21a5c-a882-4d7d-b8d8-cfe05b1436c6",
"publisherId": "huizhou.githd",
"publisherDisplayName": "huizhou"
},
"name": "githd",
"publisher": "huizhou",
"version": "2.2.3"
},
{
"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.15.3"
},
{
"metadata": {
"id": "198a707e-28af-4e84-8610-6e2f628dd12d",
"publisherId": "redhat.java",
"publisherDisplayName": "redhat"
},
"name": "java",
"publisher": "redhat",
"version": "0.58.0"
},
{
"metadata": {
"id": "4386e6f6-ec10-4463-9d23-c24278718947",
"publisherId": "tomoki1207.pdf",
"publisherDisplayName": "tomoki1207"
},
"name": "pdf",
"publisher": "tomoki1207",
"version": "0.5.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "3.20.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.3.71113"
},
{
"metadata": {
"id": "d879ccb5-cbdb-45a1-bd74-5641ad0062df",
"publisherId": "Hridoy.rails-snippets",
"publisherDisplayName": "Hridoy"
},
"name": "rails-snippets",
"publisher": "Hridoy",
"version": "1.0.8"
},
{
"metadata": {
"id": "867c2662-4ce0-4736-a22c-69975925a0c6",
"publisherId": "misogi.ruby-rubocop",
"publisherDisplayName": "misogi"
},
"name": "ruby-rubocop",
"publisher": "misogi",
"version": "0.8.3"
},
{
"metadata": {
"id": "349e83e2-207c-4309-a8d2-dfa43f7ee0c9",
"publisherId": "castwide.solargraph",
"publisherDisplayName": "castwide"
},
"name": "solargraph",
"publisher": "castwide",
"version": "0.21.1"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.13.1"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "1.0.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.2"
},
{
"metadata": {
"id": "61fcd0cf-64d7-4836-8d6b-d55f4fb83281",
"publisherId": "vscjava.vscode-java-debug",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-debug",
"publisher": "vscjava",
"version": "0.25.1"
},
{
"metadata": {
"id": "7865e561-1c83-410e-9b99-aabada597a7e",
"publisherId": "vscjava.vscode-java-dependency",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-dependency",
"publisher": "vscjava",
"version": "0.9.0"
},
{
"metadata": {
"id": "96f11e1f-1a46-4592-b084-f025b2c2a81f",
"publisherId": "vscjava.vscode-java-pack",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-pack",
"publisher": "vscjava",
"version": "0.8.1"
},
{
"metadata": {
"id": "67c06b0d-1891-42ca-b2a8-113e79bff069",
"publisherId": "vscjava.vscode-java-test",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-test",
"publisher": "vscjava",
"version": "0.22.2"
},
{
"metadata": {
"id": "b0f06c6b-24fb-4d7b-bd79-bc5e2fa17312",
"publisherId": "vscjava.vscode-maven",
"publisherDisplayName": "vscjava"
},
"name": "vscode-maven",
"publisher": "vscjava",
"version": "0.21.2"
},
{
"metadata": {
"id": "c856990a-978d-46eb-aa5e-318cd7bfecc6",
"publisherId": "shanoor.vscode-nginx",
"publisherDisplayName": "shanoor"
},
"name": "vscode-nginx",
"publisher": "shanoor",
"version": "0.6.0"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.6"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+shift+n",
"command": "explorer.newFolder",
"when": "filesExplorerFocus"
},
{
"key": "cmd+n",
"command": "explorer.newFile",
"when": "filesExplorerFocus"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+a shift+5",
"command": "workbench.action.splitEditorRight"
},
{
"key": "ctrl+a shift+'",
"command": "workbench.action.splitEditorDown"
},
{
"key": "ctrl+a h",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "cmd+k cmd+left",
"command": "-workbench.action.focusLeftGroup"
},
{
"key": "ctrl+a l",
"command": "workbench.action.focusRightGroup"
},
{
"key": "cmd+k cmd+right",
"command": "-workbench.action.focusRightGroup"
},
{
"key": "ctrl+a j",
"command": "workbench.action.focusBelowGroup"
},
{
"key": "cmd+k cmd+down",
"command": "-workbench.action.focusBelowGroup"
},
{
"key": "ctrl+a k",
"command": "workbench.action.focusAboveGroup"
},
{
"key": "cmd+k cmd+up",
"command": "-workbench.action.focusAboveGroup"
}
]
{
"editor.cursorBlinking": "solid",
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 3000,
"editor.minimap.enabled": false,
"editor.suggestSelection": "first",
"eslint.alwaysShowStatus": true,
"eslint.run": "onType",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"extensions.ignoreRecommendations": false,
"git.enableSmartCommit": true,
"npm.autoDetect": "on",
"prettier.requireConfig": true,
"python.formatting.provider": "black",
"python.pythonPath": "/usr/local/opt/python/bin/python3.7",
// "ruby.interpreter.commandPath": "/Users/sarink/.rvm/rubies/ruby-2.5.1/bin/ruby",
// "ruby.codeCompletion": "rcodetools",
// "ruby.intellisense": "rubyLocate",
// "ruby.rctComplete.commandPath": "/Users/sarink/.rvm/gems/ruby-2.5.1/bin/rct-complete",
"ruby.rubocop.executePath": "/Users/sarink/.rvm/gems/ruby-2.5.1/bin/",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"sync.gist": "28550612de0024358a5461b1aabe52ae",
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"vim.autoindent": true,
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"j"
],
"after": [
"<Esc>"
]
}
],
"vim.useSystemClipboard": true,
"window.zoomLevel": 0,
"workbench.startupEditor": "newUntitledFile",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.associations": {
".env.local": "dotenv"
},
"githd.blameView.enabled": false,
"githd.explorerView.withFolder": false,
}
{
// 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"
// }
"React MUI Hook Component": {
"prefix": "styled-mui-hook-component",
"description": "Styled MUI Hook Component",
"body": [
"import { createStyles, makeStyles } from '@material-ui/styles';",
"import { Theme } from '@material-ui/core';",
"import React from 'react';",
"",
"const useStyles = makeStyles((theme: Theme) => {",
" return createStyles({",
" });",
"});",
"",
"export interface $1Props {}",
"",
"export const $1:React.FC<$1Props> = (props) => {",
" const classes = useStyles({});",
" return <div>$1</div>;",
"};"
],
},
"React MUI Styled Component": {
"prefix": "styled-mui-class-component",
"description": "Styled MUI Class Component",
"body": [
"import { createStyles, Theme, withStyles } from '@material-ui/core';",
"import { WithStyles } from '@material-ui/core/styles';",
"import React from 'react';",
"",
"const styles = (theme: Theme) => {",
" return createStyles({",
" });",
"};",
"",
"export interface I$1Props extends WithStyles<typeof styles> {}",
"",
"class $1 extends React.Component<I$1Props> {",
" render() {",
" const { classes } = this.props;",
" return <div>$1</div>;",
" }",
"}",
"",
"const Styled$1 = withStyles(styles)($1);",
"export { Styled$1 as $1 };",
""
],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment