Skip to content

Instantly share code, notes, and snippets.

@lwwcas
Created March 30, 2022 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lwwcas/2ce029af34c1905778b32b1c386f4199 to your computer and use it in GitHub Desktop.
Save lwwcas/2ce029af34c1905778b32b1c386f4199 to your computer and use it in GitHub Desktop.
Vs Code config
{
// Style
// Dracula Theme link
// https://draculatheme.com/visual-studio-code/
"workbench.colorTheme": "Dracula",
// Material Icon Theme link
// https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
"workbench.iconTheme": "material-icon-theme",
// Fira Code font link
// https://github.com/tonsky/FiraCode
"editor.fontFamily": "Fira Code",
"workbench.startupEditor": "newUntitledFile",
"workbench.activityBar.visible": true,
"editor.fontSize": 16,
"editor.fontLigatures": true,
"editor.lineHeight": 26,
"editor.minimap.scale": 1,
"editor.minimap.showSlider": "always",
"editor.minimap.enabled": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"editor.renderLineHighlight": "gutter",
"editor.quickSuggestions": false,
"editor.snippetSuggestions": "top",
"editor.tabCompletion": "on",
"editor.detectIndentation": false,
"editor.emptySelectionClipboard": false,
"editor.quickSuggestionsDelay": 0,
"diffEditor.ignoreTrimWhitespace": false,
"editor.rulers": [
80,
120,
],
//"window.title": "${activeEditorMedium}${separator}${rootName} ${dirty}",
"window.zoomLevel": 0,
"window.closeWhenEmpty": true,
"terminal.integrated.lineHeight": 1.7,
"terminal.integrated.fontSize": 15,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.rendererType": "dom",
// "terminal.integrated.shellArgs.linux": [
// "-l"
// ],
"namespaceResolver.showMessageOnStatusBar": true,
"namespaceResolver.sortAlphabetically": true,
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"blade": "html",
"vue": "html"
},
"explorer.decorations.badges": false,
"explorer.openEditors.visible": 0,
"explorer.autoReveal": true,
"extensions.ignoreRecommendations": false,
"breadcrumbs.enabled": true,
"gitlens.keymap": "alternate",
"git.confirmSync": false,
// Configure editor settings to be overridden for [php] language.
"php.validate.run": "onType",
"php.suggest.basic": false,
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
// Configure editor settings to be overridden for [yaml] language.
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 4,
// "editor.autoIndent": false
},
"search.useIgnoreFiles": false,
"search.smartCase": true,
"search.exclude": {
"**/.git": true, // this is a default value
"**/.DS_Store": true, // this is a default value
"**/.gitkeep": true,
// "**/node_modules": true,
// "**/bower_components": true,
// "vendor/*/tests/*": true,
// "storage/framework/**": true,
// "storage/app/public": true,
// "public/**": true,
// "bootstrap/**": true,
"vendor/**/.gitignore": true,
"vendor/**/.gitattributes": true,
"vendor/*/.md": true,
"vendor/*/.png": true,
"vendor/*/.jpg": true,
"vendor/*/.jpeg": true,
"vendor/*/.gif": true,
"resources/**/vendor": true,
"*/fonts/*": true,
"vendor/*/vendor/*": true,
"dist": true,
"dist/*": true,
"*/.png": true,
"*/.jpg": true,
"*/.jpeg": true,
"*/.gif": true,
"**/composer.lock": true,
// "vendor/[abcdefghijkmopqruvwxyz]*": true,
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.exclude": {
"**/.git": true, // this is a default value
"**/.DS_Store": true, // this is a default value
"**/node_modules": true, // this excludes all folders named "node_modules" from the explore tree alternative version
"node_modules": true, // this excludes the folder only from the root of your workspace
"storage/framework/views": true
},
"files.associations": {
"*.blade.php": "blade",
"*.php": "php",
".sequelizerc": "javascript",
".stylelintrc": "json",
".prettierrc": "json",
"*.tsx": "typescriptreact",
".env.*": "dotenv"
},
"phpunit.paths": {
"${workspaceFolder}": "."
},
"saveAndRun": {
"commands": [
{
"match": ".php",
"cmd": "php-cs-fixer fix --config .php_cs.dist ${relativeFile}",
"useShortcut": false,
"silent": true
},
]
},
"explorer.confirmDragAndDrop": true,
"explorer.confirmDelete": true,
"material-icon-theme.activeIconPack": "nest",
"material-icon-theme.folders.associations": {
"infra": "app",
"entities": "class",
"domain": "class",
"schemas": "class",
"typeorm": "database",
"repositories": "mappings",
"http": "container",
"migrations": "tools",
"modules": "components",
"implementations": "core",
"dtos": "typescript",
"fakes": "mock",
"websockets": "pipe",
"protos": "pipe",
"grpc": "pipe",
"providers": "include",
"subscribers": "messages",
"useCases": "controller",
"kafka": "scripts",
"mappers": "meta",
"_shared": "shared",
"eslint-config": "tools",
"kube": "kubernetes"
},
"material-icon-theme.files.associations": {
"ormconfig.json": "database",
"tsconfig.json": "tune",
"*.proto": "3d",
"*.webpack.js": "webpack"
},
"material-icon-theme.languages.associations": {
"dotenv": "tune"
},
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"[ ]",
"[x]"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment