Skip to content

Instantly share code, notes, and snippets.

@warren30815
Last active December 24, 2023 06:54
Show Gist options
  • Save warren30815/c6a74c4f5ae0d71308c91dd05974206f to your computer and use it in GitHub Desktop.
Save warren30815/c6a74c4f5ae0d71308c91dd05974206f to your computer and use it in GitHub Desktop.
vscode setting
{
// common
"editor.fontFamily": "Menlo, Monaco, 'Courier New', monospace, Roboto Mono for Powerline",
"editor.accessibilitySupport": "off",
"workbench.iconTheme": "file-icons",
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"editor.smoothScrolling": false,
"editor.cursorSmoothCaretAnimation": "off",
"files.autoSave": "onFocusChange",
// frontend
"prettier.semi": false,
"prettier.singleQuote": true,
"stylelint.snippet": ["css", "less", "postcss", "scss", "stylus"],
"stylelint.customSyntax": "stylelint-plugin-stylus/custom-syntax",
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"stylelint.validate": ["css", "scss", "vue", "stylus"],
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// word check
"cSpell.userWords": [
"apscheduler",
"bandpass",
"bandstop",
"biopro",
"bpsspi",
"coeff",
"coeffs",
"dotenv",
"downsample",
"echarts",
"fastapi",
"fili",
"flownode",
"getpid",
"getsizeof",
"gpio",
"highpass",
"hostapd",
"lowpass",
"lttbc",
"memb",
"Monophasic",
"MPSSE",
"Mqtt",
"nbytes",
"neulive",
"neurosity",
"oper",
"ortools",
"paho",
"pako",
"pinia",
"Popconfirm",
"Popen",
"PPID",
"psutil",
"pydantic",
"scipy",
"sdcard",
"sortablejs",
"spidev",
"sqlalchemy",
"ssid",
"starlette",
"strech",
"stylelint",
"tolist",
"tzlocal",
"uart",
"vite",
"tailwindcss",
"zlevel",
"nyquist",
"FT232RLUSBLUART",
"braindee",
"renameable"
],
"editor.inlineSuggest.enabled": true,
"window.zoomLevel": 1,
"[python]": {
"editor.formatOnType": true
},
"figma.autocompleteBlocks": true,
"svg.preview.mode": "svg",
"diffEditor.ignoreTrimWhitespace": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment