Skip to content

Instantly share code, notes, and snippets.

@hyliang96
Created May 24, 2019 12:01
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 hyliang96/81c46b7c41d28409436470e9feab8eb8 to your computer and use it in GitHub Desktop.
Save hyliang96/81c46b7c41d28409436470e9feab8eb8 to your computer and use it in GitHub Desktop.
my setting.json for VS Code
{
"editor.fontFamily": "Meslo LG S DZ for Powerline",
"terminal.external.osxExec": "iTerm.app",
"python.dataScience.sendSelectionToInteractiveWindow": true,
"python.pythonPath": "/Users/mac/anaconda/bin/python",
// 终端配色
"workbench.colorCustomizations": {
"terminal.background": "#28282a",
"terminal.foreground": "#c7c7c7",
"terminalCursor.background": "#3b3b3b",
"terminalCursor.foreground": "#A5A2A2",
"terminal.ansiBlack": "#28282a",
"terminal.ansiBrightBlack": "#a2a2a2",
"terminal.ansiWhite": "#c7c7c7",
"terminal.ansiBrightWhite": "#feffff",
"terminal.ansiRed": "#c91b00",
"terminal.ansiBrightRed": "#ff6d67",
"terminal.ansiYellow": "#cecc4d",
"terminal.ansiBrightYellow": "#fefb67",
"terminal.ansiGreen": "#89b560",
"terminal.ansiBrightGreen": "#74dd74",
"terminal.ansiCyan": "#61aaab",
"terminal.ansiBrightCyan": "#5ffdff",
"terminal.ansiBlue": "#5168d5",
"terminal.ansiBrightBlue": "#6871ff",
"terminal.ansiMagenta": "#c930c7",
"terminal.ansiBrightMagenta": "#ff76ff",
},
// 工作区(包括代码,侧栏)配色
"workbench.colorTheme": "Gruvbox Dark (Medium)",
// shell语言的格式化插件
// "[shellscript]": {
// "editor.defaultFormatter": "foxundermoon.shell-format"
// },
// 保存时格式化代码
// "editor.formatOnSave": true,
// 按tab弹出自动补全
"editor.tabCompletion": "on",
// 根据语法自动确定缩进
"editor.autoIndent": true,
// 显示tab和空格
"editor.renderWhitespace": "all",
// 打开文件时检测文件内容,以自动决定 `editor.tabSize`, `editor.insertSpaces`,即
// 若一个文件内容用 tab符 缩进,则 editor.insertSpaces 设为 false
// 若一个文件内容用n个空格缩进,则 editor.insertSpaces 设为 true,editor.tabSize=n
"editor.detectIndentation": true,
// 一个tab符的显示宽度
"editor.tabSize": 4,
// 按tab输入editor.tabSize个空格
"editor.insertSpaces": true,
"breadcrumbs.enabled": true,
}
@hyliang96
Copy link
Author

hyliang96 commented May 24, 2019

It's ok to weite comments // xxxx in the configure file ("*.json") of VS Code. They are legal for VS code, though illegal for standard json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment