Skip to content

Instantly share code, notes, and snippets.

@khanghh
Last active March 9, 2025 12:45
Show Gist options
  • Save khanghh/73840797135aa6e1c7539bcc0bc54f50 to your computer and use it in GitHub Desktop.
Save khanghh/73840797135aa6e1c7539bcc0bc54f50 to your computer and use it in GitHub Desktop.
My vscode settings
{
//#region Editor
"window.commandCenter": false,
"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.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"editor.accessibilitySupport": "off",
"breadcrumbs.enabled": true,
"workbench.editor.enablePreview": false,
"extensions.ignoreRecommendations": true,
"search.useIgnoreFiles": false,
"search.exclude": {
"**/node_modules": true
},
//#endregion
//#region VIM
"vim.useSystemClipboard": false,
"vim.surround": true,
"vim.foldfix": true,
"vim.useCtrlKeys": false,
"vim.handleKeys": {
"<C-d>": true,
"<C-u>": true,
"<C-v>": true
},
//#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,
"redhat.telemetry.enabled": false,
//#endregion
//#region Language settings
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
},
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[solidity]": {
"editor.defaultFormatter": "JuanBlanco.solidity",
"editor.tabSize": 4
},
"[go]": {
"editor.tabSize": 4,
"editor.formatOnSave": true,
"editor.defaultFormatter": "golang.go"
},
"[makefile]": {
"editor.tabSize": 4
},
"[yaml]": {
"editor.tabSize": 2,
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[python]": {
"editor.tabSize": 4,
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
"editor.tabSize": 4
},
"[nginx]": {
"editor.defaultFormatter": "ahmadalli.vscode-nginx-conf"
},
// "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
//#endregion
//#region Others
"go.toolsManagement.autoUpdate": true,
"go.testFlags": ["-v"],
"gopls": { "ui.semanticTokens": true },
"liveServer.settings.donotShowInfoMsg": true,
"sftp.downloadWhenOpenInRemoteExplorer": true,
"hexeditor.columnWidth": 16,
"hexeditor.showDecodedText": true,
"hexeditor.defaultEndianness": "little",
"hexeditor.inspectorType": "aside",
"hexeditor.dataInspector.autoReveal": true,
"gitlens.graph.minimap.enabled": false,
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false,
"scminput": false
},
"svelte.enable-ts-plugin": true,
"remote.SSH.useLocalServer": false,
"remote.SSH.remotePlatform": {
"ms01": "linux",
"VN01": "linux",
"verichains01": "linux",
"103.186.64.64": "linux",
"192.168.88.100": "linux",
"hcm01": "linux",
"hn01": "linux",
"node1": "linux"
},
"diffEditor.ignoreTrimWhitespace": false,
"cmake.pinnedCommands": [
"workbench.action.tasks.configureTaskRunner",
"workbench.action.tasks.runTask"
],
"[handlebars]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"intelephense.format.braces": "k&r",
"intelephense.diagnostics.undefinedProperties": false,
//#endregion
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment