Skip to content

Instantly share code, notes, and snippets.

@adierebel
Last active February 22, 2021 18:08
Show Gist options
  • Save adierebel/bbafa858d3b0c77e95acc436eb8492d2 to your computer and use it in GitHub Desktop.
Save adierebel/bbafa858d3b0c77e95acc436eb8492d2 to your computer and use it in GitHub Desktop.
My VSCode Settings

My VSCode Settings

This is my Visual Studio Code settings, i use vscode especially for python development.

Extensions

settings.json

{
    "breadcrumbs.enabled": false,
    "window.titleBarStyle": "custom",
    "editor.renderWhitespace": "boundary",
    "editor.insertSpaces": false,
    "editor.smoothScrolling": true,
    "workbench.colorTheme": "Community Material Theme High Contrast",
    "workbench.iconTheme": "eq-material-theme-icons",
    "workbench.colorCustomizations": {
        "sideBar.background": "#192227",
        "editor.background": "#192227",
        "tab.border": "#192227",
        "tab.inactiveBackground": "#192227",
        "editorGroupHeader.tabsBackground": "#192227",
        "menu.background": "#192227",
    },
    "workbench.startupEditor": "newUntitledFile",
    "editor.renderControlCharacters": false,
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "meta.function-call.generic.python",
                "settings": {
                    "foreground": "#82AAFF"
                }
            }
        ]
    },
    "window.zoomLevel": 0,
    "extensions.ignoreRecommendations": true,
    "files.associations": {
        "*.html": "twig"
    },
    "editor.suggestSelection": "first",
    "explorer.compactFolders": false
}

keybindings.json

Windows:

[
	{
		"key": "ctrl+alt+n",
		"command": "workbench.action.terminal.sendSequence",
		"args": { "text": "python -m venv venv\ncall venv/Scripts/activate.bat\npython -m pip install --upgrade pip wheel\n" }
	},
	{
		"key": "ctrl+alt+v",
		"command": "workbench.action.terminal.sendSequence",
		"args": { "text": "call venv/Scripts/activate.bat\n" }
	},
	{
		"key": "ctrl+alt+c",
		"command": "workbench.action.terminal.sendSequence",
		"args": { "text": "deactivate\n" }
	}
]

Linux & macOS:

[
	{
		"key": "ctrl+alt+n",
		"command": "workbench.action.terminal.sendSequence",
		"args": { "text": "python3 -m venv venv\nsource venv/bin/activate\npip3 install --upgrade pip wheel\n" }
	},
	{
		"key": "ctrl+alt+v",
		"command": "workbench.action.terminal.sendSequence",
		"args": { "text": "source venv/bin/activate\n" }
	},
	{
		"key": "ctrl+alt+c",
		"command": "workbench.action.terminal.sendSequence",
		"args": { "text": "deactivate\n" }
	}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment