Skip to content

Instantly share code, notes, and snippets.

@changkun
Created June 16, 2017 06:07
Show Gist options
  • Save changkun/3aa08c2f34f7aca6c8533c0aa1b5837b to your computer and use it in GitHub Desktop.
Save changkun/3aa08c2f34f7aca6c8533c0aa1b5837b to your computer and use it in GitHub Desktop.
My VSCode Settings
{
// general editor settings
"terminal.external.osxExec": "iTerm.app",
"workbench.colorTheme": "Material Theme",
"workbench.iconTheme": "material-theme-icons",
"vsicons.projectDetection.autoReload": true,
"editor.lineNumbers": "on",
"editor.fontSize": 12,
"editor.rulers": [90, 120],
"editor.minimap.enabled": true,
"window.nativeTabs":true,
"editor.renderWhitespace":"boundary",
// languages
"[python]": {
"editor.tabSize": 4
},
"[c]": {
"editor.tabSize": 4
},
"[cpp]": {
"editor.tabSize": 4
},
"[dockerfile]": {
"editor.tabSize": 2
},
"[javascript]": {
"editor.tabSize": 2
},
"[javascriptreact]": {
"editor.tabSize": 2
},
"[typescriptreact]": {
"editor.tabSize": 2
},
"[vue]": {
"editor.tabSize": 2
},
"[tex]": {
"editor.tabSize": 4
},
"[shellscript]": {
},
"[makefile]": {
},
"[markdown]": {
"editor.tabSize": 4
},
// linting style, provider: pylint, pep8, flake8, mypy, pylama
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.maxNumberOfProblems": 50,
"python.linting.pylintArgs": ["--errors-only"],
"python.linting.pep8Enabled": false,
"python.linting.flake8Enabled": false,
"python.linting.mypyEnabled": false,
"python.linting.pylamaEnabled": false,
// virtual env
"python.venvPath": "venv/bin/python",
// auto-formatting, provider: autopep8 or yapf, install use pip
"python.formatting.formatOnSave": true,
// auto-complete
"python.autoComplete.extraPaths": [],
// jupyter settings
"python.jupyter.defaultKernel": "Python 3",
"python.jupyter.startupCode": [
"%matplotlib inline"
],
"python.jupyter.appendResults": true,
"jupyter.appendResults": true,
"jupyter.notebook.startupArgs": [
"--no-browser",
"--port=8888",
"--NotebookApp.allow_origin=\"*\""
],
// pandoc
"pandoc.pdfOptString": "--latex-engine=xelatex --listings",
"terminal.integrated.commandsToSkipShell": [
"editor.action.toggleTabFocusMode",
"workbench.action.debug.continue",
"workbench.action.debug.pause",
"workbench.action.debug.restart",
"workbench.action.debug.run",
"workbench.action.debug.start",
"workbench.action.debug.stop",
"workbench.action.focusActiveEditorGroup",
"workbench.action.focusFirstEditorGroup",
"workbench.action.focusSecondEditorGroup",
"workbench.action.focusThirdEditorGroup",
"workbench.action.openNextRecentlyUsedEditorInGroup",
"workbench.action.openPreviousRecentlyUsedEditorInGroup",
"workbench.action.quickOpen",
"workbench.action.showCommands",
"workbench.action.terminal.clear",
"workbench.action.terminal.copySelection",
"workbench.action.terminal.focus",
"workbench.action.terminal.focusAtIndex1",
"workbench.action.terminal.focusAtIndex2",
"workbench.action.terminal.focusAtIndex3",
"workbench.action.terminal.focusAtIndex4",
"workbench.action.terminal.focusAtIndex5",
"workbench.action.terminal.focusAtIndex6",
"workbench.action.terminal.focusAtIndex7",
"workbench.action.terminal.focusAtIndex8",
"workbench.action.terminal.focusAtIndex9",
"workbench.action.terminal.focusNext",
"workbench.action.terminal.focusPrevious",
"workbench.action.terminal.kill",
"workbench.action.terminal.new",
"workbench.action.terminal.paste",
"workbench.action.terminal.runActiveFile",
"workbench.action.terminal.runSelectedText",
"workbench.action.terminal.scrollDown",
"workbench.action.terminal.scrollDownPage",
"workbench.action.terminal.scrollToBottom",
"workbench.action.terminal.scrollToTop",
"workbench.action.terminal.scrollUp",
"workbench.action.terminal.scrollUpPage",
"workbench.action.terminal.toggleTerminal"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment