Skip to content

Instantly share code, notes, and snippets.

@tuto1902
Last active September 29, 2024 20:35
Show Gist options
  • Save tuto1902/676aaa25274e3236ffa34a7fbbab8c74 to your computer and use it in GitHub Desktop.
Save tuto1902/676aaa25274e3236ffa34a7fbbab8c74 to your computer and use it in GitHub Desktop.
My VS Code Settings
{
/**
* Better Defaults
**/
"editor.copyWithSyntaxHighlighting": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.emptySelectionClipboard": false,
"workbench.editor.enablePreview": false,
"window.newWindowDimensions": "inherit",
"editor.multiCursorModifier": "ctrlCmd",
"files.trimTrailingWhitespace": true,
"diffEditor.renderSideBySide": false,
"editor.snippetSuggestions": "top",
"editor.detectIndentation": false,
"window.nativeFullScreen": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"workbench.statusBar.visible": true,
"workbench.editor.showTabs": "single",
"editor.guides.indentation": true,
"editor.minimap.enabled": false,
"editor.lineNumbers": "relative",
"workbench.colorTheme": "Catppuccin Frappé",
"workbench.iconTheme": "catppuccin-perfect-latte",
"explorer.openEditors.visible": 1,
"workbench.editor.limit.value": 1,
/**
* PHP
**/
"php.suggest.basic": false,
/**
* PHP CS Fixer
**/
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer"
},
"php-cs-fixer.onsave": false,
"php-cs-fixer.showOutput": false,
"php-cs-fixer.autoFixByBracket": false,
"php-cs-fixer.rules": "@PSR2",
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"apc.stylesheet": {
".monaco-editor .cursor": "background: linear-gradient(to bottom, #ab56c1, #6c91ec)!important"
},
/**
* Silence The Noise
*/
"breadcrumbs.enabled": false,
"scm.diffDecorations": "none",
"editor.hover.enabled": false,
"editor.matchBrackets": "never",
"workbench.tips.enabled": false,
"editor.colorDecorators": false,
"git.decorations.enabled": false,
"workbench.startupEditor": "none",
"editor.lightbulb.enabled": "off",
"editor.selectionHighlight": false,
"editor.overviewRulerBorder": false,
"editor.renderLineHighlight": "none",
"editor.occurrencesHighlight": "off",
"problems.decorations.enabled": false,
"editor.renderControlCharacters": false,
"editor.hideCursorInOverviewRuler": true,
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"workbench.editor.enablePreviewFromQuickOpen": false,
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
/**
* Typography
**/
"editor.fontSize": 15,
"editor.lineHeight": 28,
"editor.suggestFontSize": 15,
"editor.suggestLineHeight": 28,
"terminal.integrated.fontSize": 15,
/**
* Find
**/
"search.useIgnoreFiles": false,
"search.exclude": {
// Hide everything in /vendor, except the "laravel" and "livewire" folder.
"**/vendor/{[^l],?[^ai]}*": true,
// Hide everything in /public, except "index.php"
"**/public/{[^i],?[^n]}*": true,
"**/node_modules": true,
"**/dist": true,
"**/_ide_helper.php": true,
"**/composer.lock": true,
"**/package-lock.json": true,
"storage": true,
".phpunit.result.cache": true
},
/**
* Code
**/
// Include "-" in word selection.
"editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?",
"emmet.includeLanguages": {
"blade": "html",
"vue-html": "html",
"vue": "html"
},
"files.associations": {
".php_cs": "php",
".php_cs.dist": "php",
".blade.php": "html"
},
"security.workspace.trust.untrustedFiles": "open",
"intelephense.diagnostics.undefinedClassConstants": false,
"intelephense.diagnostics.undefinedConstants": false,
"intelephense.diagnostics.undefinedFunctions": false,
"intelephense.diagnostics.undefinedTypes": false,
"security.promptForLocalFileProtocolHandling": false,
"intelephense.diagnostics.undefinedProperties": false,
"git.confirmSync": false,
"intelephense.diagnostics.undefinedMethods": false,
"git.openRepositoryInParentFolders": "always",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"terminal.integrated.fontFamily": "MesloLGS NF",
"vim.leader": " ",
"vim.normalModeKeyBindingsNonRecursive": [
{ "before": ["<C-h>"], "commands": [":bprevious"] },
{ "before": ["<C-l>"], "commands": [":bnext"] },
{ "before": ["leader", "s"], "commands": [":w"] },
{ "before": ["leader", "f", "f"], "commands": ["workbench.action.quickOpen"] },
],
"vim.insertModeKeyBindings": [
{ "before": ["j", "k"], "after": ["<Esc>"] },
],
"vim.visualModeKeyBindings": [
// Stay in visual mode while indenting
{ "before": ["<"], "commands": ["editor.action.outdentLines"] },
{ "before": [">"], "commands": ["editor.action.indentLines"] },
// Move selected lines while staying in visual mode
{ "before": ["J"], "commands": ["editor.action.moveLinesDownAction"] },
{ "before": ["K"], "commands": ["editor.action.moveLinesUpAction"] },
// toggle comment selection
{ "before": ["leader", "gc"], "commands": ["editor.action.commentLine"] }
],
"vim.handleKeys": {
"<C-d>": true,
"<C-s>": false,
"<C-z>": false,
"<C-w>": false
},
"explorer.confirmDelete": false,
"workbench.sideBar.location": "right",
"workbench.activityBar.location": "hidden",
"editor.stickyScroll.enabled": false,
"php-cs-fixer.lastDownload": 1727368639620,
"explorer.confirmDragAndDrop": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment