Skip to content

Instantly share code, notes, and snippets.

@eliaskanelis
Created November 10, 2024 20:27
Show Gist options
  • Save eliaskanelis/42c982f9f2748a0dfcc96ba56aa2ce09 to your computer and use it in GitHub Desktop.
Save eliaskanelis/42c982f9f2748a0dfcc96ba56aa2ce09 to your computer and use it in GitHub Desktop.
{
// "extensionsGallery": {
// "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
// "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
// "itemUrl": "https://marketplace.visualstudio.com/items"
// },
// Basic editor settings
"editor.tabSize": 4,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"editor.wordWrap": "off",
"editor.minimap.enabled": true,
"editor.smoothScrolling": true,
"editor.rulers": [80, 120],
"editor.fontSize": 12,
// "editor.fontWeight": "bold",
"editor.fontFamily": "Source Code Pro",
"editor.fontLigatures": false,
"editor.fontSmoothing": "subpixel-antialiased",
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "line",
"editor.cursorWidth": 1,
"editor.renderWhitespace": "boundary",
// Auto-formatting
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.formatOnType": false,
// Intellisence
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.suggestOnTriggerCharacters": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.snippetSuggestions": "inline",
// CLangd
"editor.inlayHints.enabled": "on",
// Files and explorer settings
"files.autoSave": "off",
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/dist": true
},
"[python]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"[c]": {
"editor.tabSize": 8,
"editor.insertSpaces": false,
"editor.defaultFormatter": "xaver.clang-format"
},
"[cpp]": {
"editor.tabSize": 8,
"editor.insertSpaces": false,
"editor.defaultFormatter": "xaver.clang-format"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"prettier.useTabs": true
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"prettier.useTabs": true
},
"files.associations": {
".clang-format": "plaintext"
},
// Git graph
"git-graph.date.format": "Relative",
"git-graph.openToTheRepoOfTheActiveTextEditorDocument": true,
"clang-tidy.blacklist": [],
"diffEditor.ignoreTrimWhitespace": true,
"vscode-clang-format-ruler-decor.color": "red",
"gitlens.ai.experimental.model": "openai:gpt-3.5-turbo",
"cmake.showOptionsMovedNotification": false,
"security.workspace.trust.untrustedFiles": "open",
"workbench.colorTheme": "Monokai"
//"prettier.trailingComma": "none", // Customize to remove trailing commas
//"prettier.useTabs": true,
//"prettier.tabWidth": 4, // Sets the number of spaces per indent level
//"prettier.singleQuote": false, // Double quotes for JSON consistency
//"prettier.endOfLine": "lf", // Standard LF line endings
//"prettier.insertPragma": false // No Prettier pragma at the top of files
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment