Last active
August 2, 2023 06:56
-
-
Save khanghh/73840797135aa6e1c7539bcc0bc54f50 to your computer and use it in GitHub Desktop.
My vscode settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
//#region Editor | |
"window.commandCenter": false, | |
"window.zoomLevel": 1, | |
"workbench.colorTheme": "Default Dark+", | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"explorer.enableDragAndDrop": false, | |
"explorer.autoReveal": true, | |
"editor.tabSize": 2, | |
"editor.dragAndDrop": false, | |
"editor.mouseWheelZoom": false, | |
"editor.detectIndentation": false, | |
"editor.suggestSelection": "first", | |
"editor.codeActionsOnSave": [ | |
// "source.organizeImports", | |
// "source.fixAll", | |
// "source.fixAll.eslint" | |
], | |
"editor.accessibilitySupport": "off", | |
"breadcrumbs.enabled": true, | |
"workbench.editor.enablePreview": false, | |
"terminal.integrated.fontFamily": "Monaco for Powerline", | |
"extensions.ignoreRecommendations": true, | |
"search.useIgnoreFiles": false, | |
"search.exclude": { | |
"**/node_modules": true | |
}, | |
//#endregion | |
//#region VIM | |
"keyboard.dispatch": "keyCode", | |
"vim.useCtrlKeys": true, | |
"vim.surround": true, | |
"vim.foldfix": true, | |
// "vim.handleKeys": { | |
// "<C-d>": true, | |
// "<C-u>": true | |
// }, // This is the default so it might be missing. | |
//#endregion | |
//#region Vetur" | |
"vetur.format.defaultFormatter.html": "prettyhtml", | |
"vetur.format.defaultFormatter.css": "prettier", | |
"vetur.format.defaultFormatter.postcss": "prettier", | |
"vetur.format.defaultFormatter.scss": "prettier", | |
"vetur.format.defaultFormatter.less": "prettier", | |
"vetur.format.defaultFormatter.stylus": "stylus-supremacy", | |
"vetur.format.defaultFormatter.js": "prettier-eslint", | |
"vetur.format.defaultFormatter.ts": "none", | |
//#endregion | |
//#region File header | |
"fileHeaderComment.parameter": { | |
"*": { | |
"commentbegin": "/*", | |
"commentprefix": " *", | |
"commentend": " */", | |
"author": "khanghh", | |
"company": "VNG Corporation" | |
} | |
}, | |
"fileHeaderComment.template": { | |
"*": [ | |
"${commentbegin}", | |
"${commentprefix} Created on ${year}/${month}/${day} by ${author}", | |
"${commentprefix}", | |
"${commentprefix} Copyright (c) ${year} ${company}", | |
"${commentend}" | |
] | |
}, | |
//#endregion | |
//#region Web3 | |
"hardhat.telemetry": false, | |
"solidity.telemetry": false, | |
//#endregion | |
//#region Language settings | |
"[javascript]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"[typescript]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, | |
"solidity.formatter": "prettier", | |
"[solidity]": { | |
"editor.defaultFormatter": "JuanBlanco.solidity", | |
"editor.tabSize": 4 | |
}, | |
"[go]": { | |
"editor.tabSize": 4, | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "golang.go" | |
}, | |
"[makefile]": { | |
"editor.tabSize": 4, | |
}, | |
"[dockerfile]": { | |
"editor.defaultFormatter": "ms-azuretools.vscode-docker" | |
}, | |
"[yaml]": { | |
"editor.defaultFormatter": "redhat.vscode-yaml" | |
}, | |
"isort.args":["--profile", "black"], // python vscode-isort | |
"[python]": { | |
"editor.tabSize": 4, | |
"editor.defaultFormatter": "ms-python.python", | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
}, | |
}, | |
"[php]": { | |
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client" | |
}, | |
"[nginx]": { | |
"editor.defaultFormatter": "raynigon.nginx-formatter" | |
}, | |
//#endregion | |
//#region Others | |
"go.toolsManagement.autoUpdate": true, | |
"go.testFlags": ["-v"], | |
"gopls": { "ui.semanticTokens": true }, | |
"redhat.telemetry.enabled": false, | |
"liveServer.settings.donotShowInfoMsg": true, | |
"sftp.downloadWhenOpenInRemoteExplorer": true, | |
"genieai.enableConversationHistory": true, | |
"hexeditor.columnWidth": 16, | |
"hexeditor.showDecodedText": true, | |
"hexeditor.defaultEndianness": "little", | |
"hexeditor.inspectorType": "aside", | |
"hexeditor.dataInspector.autoReveal": true, | |
"gitlens.graph.minimap.enabled": false, | |
//#endregion | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment