Skip to content

Instantly share code, notes, and snippets.

@estevan-ulian
Forked from luizomf/README.md
Created July 2, 2022 18:39
Show Gist options
  • Save estevan-ulian/b89367e80b7f4d586eb72c22c39ec65a to your computer and use it in GitHub Desktop.
Save estevan-ulian/b89367e80b7f4d586eb72c22c39ec65a to your computer and use it in GitHub Desktop.
VSCode settings.json - keybindings.json - recomendations - extensions.json. Just to backup (visual studio code)
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+alt+=",
"command": "editor.action.fontZoomIn"
},
{
"key": "ctrl+shift+alt+-",
"command": "editor.action.fontZoomOut"
},
{
"key": "ctrl+shift+alt+0",
"command": "editor.action.fontZoomReset"
},
{
"key": "ctrl+alt+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+s",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+numpad_divide",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+k",
"command": "code-runner.runCustomCommand"
},
{
"key": "ctrl+alt+k",
"command": "-code-runner.runCustomCommand"
},
{
"key": "ctrl+shift+alt+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "ctrl+'",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+shift+[BracketLeft]",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+alt+b",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+escape",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "shift+alt+l",
"command": "editor.action.transformToLowercase"
},
{
"key": "shift+alt+s",
"command": "editor.action.transformToSnakecase"
},
{
"key": "shift+alt+t",
"command": "editor.action.transformToTitlecase"
},
{
"key": "shift+alt+u",
"command": "editor.action.transformToUppercase"
}
]
{
// Workbench
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "short",
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.enablePreview": false,
"workbench.sideBar.location": "left",
"window.menuBarVisibility": "toggle",
"workbench.list.smoothScrolling": true,
"workbench.colorTheme": "OM Theme (Night Owl Italic)",
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
// Explorer
"explorer.compactFolders": false,
"explorer.confirmDelete": true,
// Editor and breadcrumbs
"breadcrumbs.enabled": true,
"editor.renderControlCharacters": false,
"editor.tabSize": 2,
"editor.renderLineHighlight": "gutter",
"editor.rulers": [79, 120],
"editor.minimap.enabled": false,
"editor.fontSize": 20,
"editor.detectIndentation": true,
"editor.snippetSuggestions": "top",
"editor.wordBasedSuggestions": false,
"editor.suggest.localityBonus": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.formatOnPaste": false,
"editor.cursorSmoothCaretAnimation": true,
"editor.mouseWheelScrollSensitivity": 2,
"editor.smoothScrolling": true,
"editor.mouseWheelZoom": true,
"editor.linkedEditing": true,
"editor.fontFamily": "'Operator Mono Lig Book', 'SF Mono', Consolas, 'Source Code Pro', 'Dank Mono', 'Fira Code', Menlo, 'Inconsolata', 'Droid Sans Mono', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', Courier, Monaco, monospace",
"editor.glyphMargin": false,
"editor.fontLigatures": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll": true
},
"editor.suggestSelection": "first",
// Git
"git.enableSmartCommit": true,
"diffEditor.ignoreTrimWhitespace": true,
// Debug
"debug.console.fontSize": 18,
// Files and search
"files.defaultLanguage": "{activeEditorLanguage}",
"files.exclude": {
"USE_GITIGNORE": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/dist": true,
"**/build": true,
"**/.build": true,
"**/.gh-pages": true
},
// Terminal
"terminal.integrated.copyOnSelection": false,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.shell.linux": "zsh",
"terminal.external.linuxExec": "x-terminal-emulator",
"terminal.integrated.fontFamily": "'Operator Mono Lig Book', 'Fira Code', 'SF Mono', Consolas, 'Source Code Pro', 'Dank Mono', Menlo, 'Inconsolata', 'Droid Sans Mono', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', Courier, Monaco, monospace",
"terminal.integrated.fontSize": 18,
"terminal.integrated.drawBoldTextInBrightColors": false,
"terminal.integrated.enableFileLinks": false,
"terminal.integrated.env.linux": {
// "PORT": "4000"
},
// Javascript & TypeScript
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"javascript.validate.enable": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.suggest.autoImports": true,
"typescript.suggest.autoImports": true,
"[javascript]": {
"editor.suggestSelection": "recentlyUsed",
"editor.suggest.showKeywords": false
},
// Python
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.formatOnType": true
},
"python.formatting.autopep8Args": [
"--indent-size=4"
// "--ignore=E111",
],
"python.linting.flake8Args": [
// "--ignore=E111",
],
"python.linting.pylintArgs": [
"--load-plugins=pylint_django",
"--errors-only"
],
"python.pythonPath": "/bin/python3.8",
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.testing.unittestEnabled": true,
// Django
"files.associations": {
"*.html": "html",
"**/templates/*.html": "django-html",
"**/templates/*": "django-txt",
"**/requirements{/**,*}.{txt,in}": "pip-requirements"
},
// Emmet
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"emmet.includeLanguages": {
"django-html": "html",
"javascript": "javascriptreact",
"typescript": "typescriptreact"
},
// ##################### Extensions ##################### //
// Bracket pair colorizer
"bracket-pair-colorizer-2.colors": [
"#8BE9FD",
"#50FA7B",
"#FFB86C",
"#FF79C6",
"#BD93F9",
"#F1FA8C"
],
"bracket-pair-colorizer-2.colorMode": "Consecutive",
"bracket-pair-colorizer-2.forceUniqueOpeningColor": false,
"bracket-pair-colorizer-2.forceIterationColorCycle": false,
"bracket-pair-colorizer-2.showBracketsInGutter": true,
"bracket-pair-colorizer-2.showBracketsInRuler": true,
"bracket-pair-colorizer-2.showVerticalScopeLine": false,
"bracket-pair-colorizer-2.showHorizontalScopeLine": false,
"bracket-pair-colorizer-2.unmatchedScopeColor": "#FF5555",
// Code runner
"code-runner.clearPreviousOutput": true,
"code-runner.ignoreSelection": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.runInTerminal": true,
"code-runner.preserveFocus": false,
"code-runner.executorMap": {
"python": "python3 -u",
"typescript": "npx ts-node --files --transpile-only"
},
// Material icon theme extension
"material-icon-theme.hidesExplorerArrows": true,
"material-icon-theme.folders.theme": "classic",
"material-icon-theme.folders.color": "#6273a6",
// Colorize (in big files you may want to disable this)
"colorize.hide_current_line_decorations": false,
"colorize.include": [".tsx", ".jsx", ".ts", ".js"],
"colorize.languages": [
"typescriptreact",
"javascriptreact",
"javascript",
"typescript",
"css",
"sass",
"scss",
"less",
"pcss",
"sss",
"stylus",
"xml",
"svg",
"json",
"jsonc",
"yaml"
],
"colorize.colorized_colors": [
// "BROWSERS_COLORS", // this is reaaally annoying
"HEXA",
"RGB",
"HSL"
],
"colorize.enable_search_variables": false,
// CSpell checker extension
"cSpell.enabled": true,
"cSpell.language": "en,pt,pt_BR",
"cSpell.enableFiletypes": ["shellscript"],
"cSpell.customUserDictionaries": [
{
"name": "Custom",
"description": "Custom CSpell Dict",
"path": "~/Development/custom-cspell-dictionary.txt",
"addWords": false
}
],
// XML Language Support by Red Hat
"redhat.telemetry.enabled": true,
// VsCode Action Buttons
"actionButtons": {
"defaultColor": "#8be9fd", // Can also use string color names.
"loadNpmCommands": false, // Disables automatic generation of actions for npm commands.
"reloadButton": "🗘", // Custom reload button text or icon (default ↻). null value enables automatic reload on configuration change
"commands": [
{
"cwd": "./", // Terminal initial folder ${workspaceFolder} and os user home as defaults
"name": "Open dictionary",
"color": "#8be9fd",
"singleInstance": true,
"command": "code -r ~/Development/custom-cspell-dictionary.txt; exit" // This is executed in the terminal.
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment