Skip to content

Instantly share code, notes, and snippets.

@vansosnin
Last active October 10, 2018 16:19
Show Gist options
  • Select an option

  • Save vansosnin/57d8a2f1984af8dccc948b8aceba6dd3 to your computer and use it in GitHub Desktop.

Select an option

Save vansosnin/57d8a2f1984af8dccc948b8aceba6dd3 to your computer and use it in GitHub Desktop.

Revisions

  1. vansosnin revised this gist Oct 10, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion vscode_ext.sh
    Original file line number Diff line number Diff line change
    @@ -19,4 +19,5 @@ ext install bracket-pair-colorizer
    ext install vscode-todo-highlight
    ext install vscode-import-cost
    ext install ms-python.python
    ext install bibhasdn.django-html
    ext install bibhasdn.django-html
    ext install editorconfig.editorconfig
  2. vansosnin revised this gist Aug 1, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions vscode_settings.json
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@
    "editor.fontSize": 14,
    "editor.fontLigatures": true,
    "workbench.iconTheme": "material-icon-theme",
    "telemetry.enableTelemetry": false,

    "editor.formatOnSave": true,
    "editor.tabCompletion": true,
  3. vansosnin revised this gist May 27, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion vscode_ext.sh
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,5 @@ ext install debugger-for-chrome
    ext install bracket-pair-colorizer
    ext install vscode-todo-highlight
    ext install vscode-import-cost
    ext install ms-python.python
    ext install ms-python.python
    ext install bibhasdn.django-html
  4. vansosnin revised this gist May 11, 2018. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions vscode_keybindings.json
    Original file line number Diff line number Diff line change
    @@ -16,5 +16,9 @@
    "command": "editor.action.insertSnippet",
    "when": "editorTextFocus",
    "args": { "langId": "javascript", "name": "Create action creators" }
    },
    {
    "key": "alt+cmd+v",
    "command": "python.refactorExtractVariable"
    }
    ]
  5. vansosnin revised this gist May 5, 2018. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion vscode_settings.json
    Original file line number Diff line number Diff line change
    @@ -18,5 +18,8 @@
    "javascript.validate.enable": false,
    "workbench.colorTheme": "Nord",

    "python.pythonPath": "python3"
    "python.pythonPath": "python3",
    "python.linting.pylintArgs": [
    "--load-plugins=pylint_django"
    ]
    }
  6. vansosnin revised this gist May 1, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion vscode_settings.json
    Original file line number Diff line number Diff line change
    @@ -16,5 +16,7 @@

    "git.enableSmartCommit": true,
    "javascript.validate.enable": false,
    "workbench.colorTheme": "Nord"
    "workbench.colorTheme": "Nord",

    "python.pythonPath": "python3"
    }
  7. vansosnin revised this gist Apr 30, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion vscode_ext.sh
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,5 @@ ext install highlight-matching-tag
    ext install debugger-for-chrome
    ext install bracket-pair-colorizer
    ext install vscode-todo-highlight
    ext install vscode-import-cost
    ext install vscode-import-cost
    ext install ms-python.python
  8. vansosnin revised this gist Apr 10, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vscode_settings.json
    Original file line number Diff line number Diff line change
    @@ -16,5 +16,5 @@

    "git.enableSmartCommit": true,
    "javascript.validate.enable": false,
    "workbench.colorTheme": "Monokai"
    "workbench.colorTheme": "Nord"
    }
  9. vansosnin revised this gist Apr 10, 2018. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion vscode_ext.sh
    Original file line number Diff line number Diff line change
    @@ -14,4 +14,7 @@ ext install npm-intellisense
    ext install auto-close-tag
    ext install auto-rename-tag
    ext install highlight-matching-tag
    ext install debugger-for-chrome
    ext install debugger-for-chrome
    ext install bracket-pair-colorizer
    ext install vscode-todo-highlight
    ext install vscode-import-cost
  10. vansosnin revised this gist Feb 21, 2018. 1 changed file with 17 additions and 1 deletion.
    18 changes: 17 additions & 1 deletion vscode_ext.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,17 @@
    ext install file-templates vscode-eslint intellij-idea-keybindings javascriptsnippets material-icon-theme material-theme prettier-vscode project-manager quokka-vscode activefileinstatusbar path-intellisense npm-intellisense auto-close-tag auto-rename-tag highlight-matching-tag flow-for-vscode debugger-for-chrome
    ext install file-templates
    ext install vscode-eslint
    ext install intellij-idea-keybindings
    ext install javascriptsnippets
    ext install material-icon-theme
    ext install material-theme
    ext install nord-visual-studio-code
    ext install prettier-vscode
    ext install project-manager
    ext install quokka-vscode
    ext install activefileinstatusbar
    ext install path-intellisense
    ext install npm-intellisense
    ext install auto-close-tag
    ext install auto-rename-tag
    ext install highlight-matching-tag
    ext install debugger-for-chrome
  11. vansosnin revised this gist Dec 29, 2017. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions vscode_settings.json
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,6 @@
    {
    "editor.minimap.enabled": false,
    "files.autoSave": "onFocusChange",

    "editor.fontFamily": "'Fira Code'",
    "editor.fontSize": 14,
    "editor.fontLigatures": true,
    @@ -12,7 +11,10 @@

    "prettier.tabWidth": 4,
    "prettier.singleQuote": true,
    "prettier.trailingComma": "all",
    "prettier.trailingComma": "es5",
    "prettier.arrowParens": "always",

    "git.enableSmartCommit": true,
    "javascript.validate.enable": false
    "javascript.validate.enable": false,
    "workbench.colorTheme": "Monokai"
    }
  12. vansosnin revised this gist Aug 16, 2017. 2 changed files with 34 additions and 2 deletions.
    24 changes: 22 additions & 2 deletions vscode_javascript.json
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,27 @@
    },
    "Connect component": {
    "prefix": "conn",
    "body": ["connect(${1:null}, ${2:null})($TM_SELECTED_TEXT)"],
    "body": ["connect(${1:null}, ${2:null})(${TM_SELECTED_TEXT})"],
    "description": "Wrap component into connect"
    },
    "Create action types": {
    "prefix": "atyp",
    "body": [
    "export const ${TM_SELECTED_TEXT} = '${TM_SELECTED_TEXT}';",
    "export const ${TM_SELECTED_TEXT}_BEGIN = '${TM_SELECTED_TEXT}_BEGIN';",
    "export const ${TM_SELECTED_TEXT}_SUCCESS = '${TM_SELECTED_TEXT}_SUCCESS';",
    "export const ${TM_SELECTED_TEXT}_ERROR = '${TM_SELECTED_TEXT}_ERROR';"
    ],
    "description": "Create action types"
    },
    "Create action creators": {
    "prefix": "acre",
    "body": [
    "export const ${TM_SELECTED_TEXT} = createAction(actionTypes.${1});",
    "export const ${TM_SELECTED_TEXT}Begin = createAction(actionTypes.${2});",
    "export const ${TM_SELECTED_TEXT}Success = createAction(actionTypes.${3});",
    "export const ${TM_SELECTED_TEXT}Error = createAction(actionTypes.${4});"
    ],
    "description": "Create action creators"
    }
    }
    }
    12 changes: 12 additions & 0 deletions vscode_keybindings.json
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,17 @@
    "command": "editor.action.insertSnippet",
    "when": "editorTextFocus",
    "args": { "langId": "javascript", "name": "Connect component" }
    },
    {
    "key": "ctrl+k t",
    "command": "editor.action.insertSnippet",
    "when": "editorTextFocus",
    "args": { "langId": "javascript", "name": "Create action types" }
    },
    {
    "key": "ctrl+k c",
    "command": "editor.action.insertSnippet",
    "when": "editorTextFocus",
    "args": { "langId": "javascript", "name": "Create action creators" }
    }
    ]
  13. vansosnin revised this gist Aug 15, 2017. 3 changed files with 31 additions and 0 deletions.
    1 change: 1 addition & 0 deletions vscode_ext.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ext install file-templates vscode-eslint intellij-idea-keybindings javascriptsnippets material-icon-theme material-theme prettier-vscode project-manager quokka-vscode activefileinstatusbar path-intellisense npm-intellisense auto-close-tag auto-rename-tag highlight-matching-tag flow-for-vscode debugger-for-chrome
    12 changes: 12 additions & 0 deletions vscode_javascript.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    {
    "Import connect": {
    "prefix": "imcon",
    "body": ["import { connect } from 'react-redux';"],
    "description": "Import connect"
    },
    "Connect component": {
    "prefix": "conn",
    "body": ["connect(${1:null}, ${2:null})($TM_SELECTED_TEXT)"],
    "description": "Wrap component into connect"
    }
    }
    18 changes: 18 additions & 0 deletions vscode_settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    {
    "editor.minimap.enabled": false,
    "files.autoSave": "onFocusChange",

    "editor.fontFamily": "'Fira Code'",
    "editor.fontSize": 14,
    "editor.fontLigatures": true,
    "workbench.iconTheme": "material-icon-theme",

    "editor.formatOnSave": true,
    "editor.tabCompletion": true,

    "prettier.tabWidth": 4,
    "prettier.singleQuote": true,
    "prettier.trailingComma": "all",
    "git.enableSmartCommit": true,
    "javascript.validate.enable": false
    }
  14. vansosnin created this gist Aug 15, 2017.
    8 changes: 8 additions & 0 deletions vscode_keybindings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    [
    {
    "key": "ctrl+k 1",
    "command": "editor.action.insertSnippet",
    "when": "editorTextFocus",
    "args": { "langId": "javascript", "name": "Connect component" }
    }
    ]