Skip to content

Instantly share code, notes, and snippets.

@cshaxu
Last active February 6, 2025 22:42
Show Gist options
  • Save cshaxu/14f481ebe3605db2836f3eb0cc857645 to your computer and use it in GitHub Desktop.
Save cshaxu/14f481ebe3605db2836f3eb0cc857645 to your computer and use it in GitHub Desktop.
VSCode Settings
{
// general settings
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.defaultProfile.osx": "bash",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"window.zoomLevel": -1,
// file settings
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"workbench.editor.defaultBinaryEditor": "hexEditor.hexedit",
"workbench.editorAssociations": {
"{hexdiff}:/**/*.*": "hexEditor.hexedit",
"*.BIN": "hexEditor.hexedit"
},
// editor format settings
"diffEditor.ignoreTrimWhitespace": false,
"editor.codeActionsOnSave": { "source.organizeImports": "explicit" },
"editor.folding": true,
"editor.formatOnSave": true,
"editor.inlineSuggest.enabled": true,
"editor.tabSize": 2,
"eslint.useFlatConfig": true,
"files.insertFinalNewline": true,
"prettier.endOfLine": "auto",
// language format settings
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"files.associations": {
"*.ejs": "html"
},
"emmet.includeLanguages": {
"ejs": "html"
},
// github copilot
"chat.editing.alwaysSaveWithGeneratedChanges": true,
"github.copilot.editor.enableAutoCompletions": true,
"github.copilot.enable": {
"*": true,
"plaintext": true,
"markdown": true,
"scminput": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment