Skip to content

Instantly share code, notes, and snippets.

@ktjd123
Last active March 13, 2020 22:55
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 ktjd123/9fbeb6160b86ec2bd84342f593aca479 to your computer and use it in GitHub Desktop.
Save ktjd123/9fbeb6160b86ec2bd84342f593aca479 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-03-13T22:55:53.271Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"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": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.7.0"
},
{
"metadata": {
"id": "0ec558c9-f7f7-4df3-b2cf-a41ddcf292dd",
"publisherId": "mkaufman.HTMLHint",
"publisherDisplayName": "mkaufman"
},
"name": "HTMLHint",
"publisher": "mkaufman",
"version": "0.6.0"
},
{
"metadata": {
"id": "ad94b437-b5a7-4249-bf5f-df472ae0d084",
"publisherId": "ritwickdey.live-sass",
"publisherDisplayName": "ritwickdey"
},
"name": "live-sass",
"publisher": "ritwickdey",
"version": "3.0.0"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.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": "570e6089-b871-41df-9cf4-a723cb34ef01",
"publisherId": "rust-lang.rust",
"publisherDisplayName": "rust-lang"
},
"name": "rust",
"publisher": "rust-lang",
"version": "0.7.0"
},
{
"metadata": {
"id": "484d897a-6711-403c-ab54-a96f12be5833",
"publisherId": "Equinusocio.vsc-community-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-community-material-theme",
"publisher": "Equinusocio",
"version": "1.4.1"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "32.5.0"
},
{
"metadata": {
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113",
"publisherId": "equinusocio.vsc-material-theme-icons",
"publisherDisplayName": "equinusocio"
},
"name": "vsc-material-theme-icons",
"publisher": "equinusocio",
"version": "1.1.4"
},
{
"metadata": {
"id": "7c15d326-cfdd-4932-9409-634b512daebe",
"publisherId": "MS-CEINTL.vscode-language-pack-ko",
"publisherDisplayName": "MS-CEINTL"
},
"name": "vscode-language-pack-ko",
"publisher": "MS-CEINTL",
"version": "1.42.2"
},
{
"metadata": {
"id": "beb68b20-7c55-471c-9b63-3486f9423566",
"publisherId": "mrmlnc.vscode-scss",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-scss",
"publisher": "mrmlnc",
"version": "0.9.0"
},
{
"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"
}
]
// 키 바인딩을 이 파일에 넣어서 기본값을 덮어씁니다.
[
{
"key": "cmd+r",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "!inDebugMode"
}
]
// 설정을 이 파일에 넣어서 기본 설정을 덮어씁니다.
{
"editor.fontSize": 12,
"explorer.confirmDelete": false,
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"terminal.integrated.shell.osx": "/usr/local/bin/fish",
"editor.minimap.enabled": true,
"editor.formatOnSave": true,
"javascript.format.enable": false,
"workbench.colorCustomizations": {},
"sync.gist": "9fbeb6160b86ec2bd84342f593aca479",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"terminal.integrated.fontFamily": "Droid Sans Mono Slashed for Powerline",
"breadcrumbs.enabled": true,
"workbench.colorTheme": "Default High Contrast",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"editor.tabSize": 2,
"editor.suggestSelection": "first",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[rust]": {
"editor.defaultFormatter": "rust-lang-nursery.rls-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"rust-client.rustupPath": "/Users/peter/.cargo/bin/rustup",
"timeline.showView": true,
}
{
"비구조화 할당": {
"prefix": "ttt",
"body": " {...this.props} {...this}",
"description": "this 바인딩 비구조화 할당"
},
"Onchange Event": {
"prefix": "ooo",
"body": [
"@action",
"onChange = (e) => {",
"\tthis[e.target.id] = e.target.value;",
"};"
],
"description": "Onchange With events"
},
"getInitialProps": {
"prefix": "ggg",
"body": "static async getInitialProps({ query }) {return query;}",
"description": "Next.js for prefetch"
},
"기본 컴포넌트 구조": {
"prefix": "iii",
"body": [
"import React, { Component } from 'react';",
"import { observable, action } from 'mobx';",
"import { observer, inject } from 'mobx-react';",
"",
"@observer",
"class $TM_FILENAME_BASE extends Component {",
"\trender() {",
"\t\treturn <div>$0</div>;",
"\t}",
"}",
"export default $TM_FILENAME_BASE;"
]
},
"기본 컴포넌트 구조 + Classnames": {
"prefix": "iio",
"body": [
"import React, { Component } from 'react';",
"import ClassNames from 'classnames/bind';",
"import { observable, action } from 'mobx';",
"import { observer, inject } from 'mobx-react';",
"import styles from './index.scss';",
"",
"const cx = ClassNames.bind(styles);",
"",
"@observer",
"class $TM_FILENAME_BASE extends Component {",
"\trender() {",
"\t\treturn <div>$0</div>;",
"\t}",
"}",
"export default $TM_FILENAME_BASE;"
]
},
"mobx store": {
"prefix": "sss",
"body": [
"import { observable, action, runInAction } from 'mobx';",
"import axios from 'axios';",
"",
"export default class $TM_FILENAME_BASE {",
"\t$1",
"}"
],
"description": "Next.js for prefetch"
}
}
{
"mobx store": {
"prefix": "sss",
"body": [
"import { observable, action, runInAction } from 'mobx';",
"import axios from 'axios';",
"",
"export default class $TM_FILENAME_BASE {",
"\t$1",
"}"
],
"description": "Next.js for prefetch"
}
}
{
"Onchange Event": {
"prefix": "ooo",
"body": [
"@action",
"onChange = (e:any) => {",
"\tthis[e.target.id] = e.target.value;",
"};"
],
"description": "Onchange With events"
},
"getInitialProps": {
"prefix": "ggg",
"body": "static async getInitialProps({ query }) {return query;}",
"description": "Next.js for prefetch"
},
"기본 컴포넌트 구조": {
"prefix": "iii",
"body": [
"import React, { Component } from 'react';",
"import { observable, action } from 'mobx';",
"import { observer, inject } from 'mobx-react';",
"",
"interface Props{",
"}",
"@observer",
"class $TM_FILENAME_BASE extends Component<Props> {",
"\trender() {",
"\t\treturn <div>$0</div>;",
"\t}",
"}",
"export default $TM_FILENAME_BASE;"
]
},
"기본 컴포넌트 구조 + Classnames": {
"prefix": "iio",
"body": [
"import React, { Component } from 'react';",
"import ClassNames from 'classnames/bind';",
"import { observable, action } from 'mobx';",
"import { observer, inject } from 'mobx-react';",
"import styles from './index.scss';",
"",
"const cx = ClassNames.bind(styles);",
"",
"interface Props{",
"}",
"@observer",
"class $TM_FILENAME_BASE extends Component<Props> {",
"\trender() {",
"\t\treturn <div>$0</div>;",
"\t}",
"}",
"export default $TM_FILENAME_BASE;"
]
},
"mobx store": {
"prefix": "sss",
"body": [
"import { observable, action, runInAction } from 'mobx';",
"import axios from 'axios';",
"",
"export default class $TM_FILENAME_BASE {",
"\t$1",
"}"
],
"description": "Next.js for prefetch"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment