Created
November 21, 2022 01:22
-
-
Save HeyMehedi/1e6002319b5223d828560c701a55dd7f to your computer and use it in GitHub Desktop.
Basic WordPress Settings for VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code-runner.saveFileBeforeRun": true, | |
"workbench.colorTheme": "One Dark Pro", | |
"editor.fontSize": 16, | |
"phpfmt.psr2": false, | |
"phpfmt.passes": [ | |
"PSR2KeywordsLowerCase", | |
"PSR2LnAfterNamespace", | |
"PSR2ModifierVisibilityStaticOrder", | |
"ReindentSwitchBlocks", | |
// "SpaceAroundControlStructures", | |
"SpaceAfterExclamationMark", | |
"SpaceAroundParentheses", | |
"LongArray", | |
"SpaceBetweenMethods", | |
// "AlignPHPCode", | |
"AutoSemicolon", | |
"IndentTernaryConditions", | |
"NewLineBeforeReturn", | |
"RemoveSemicolonAfterCurly", | |
"WrongConstructorName" | |
], | |
"phpfmt.exclude": ["ReindentComments", "StripNewlineWithinClassBody"], | |
"code-runner.executorMapByFileExtension": { | |
".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt", | |
".vbs": "cscript //Nologo", | |
".scala": "scala", | |
".jl": "julia", | |
".cr": "crystal", | |
".ml": "ocaml", | |
".exs": "elixir", | |
".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", | |
".rkt": "racket", | |
".scm": "csi -script", | |
".ahk": "autohotkey", | |
".au3": "autoit3", | |
".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar", | |
".kts": "kotlinc -script", | |
".dart": "dart", | |
".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", | |
".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", | |
".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", | |
".hs": "runhaskell", | |
".nim": "nim compile --verbosity:0 --hints:off --run", | |
".csproj": "dotnet run --project", | |
".fsproj": "dotnet run --project", | |
".lisp": "sbcl --script", | |
".kit": "kitc --run", | |
".v": "v run", | |
".vsh": "v run", | |
".sass": "sass --style expanded", | |
".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt" | |
}, | |
"code-runner.executorMap": { | |
"javascript": "node", | |
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt", | |
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"php": "/usr/bin/php", | |
"python": "python -u", | |
"perl": "perl", | |
"perl6": "perl6", | |
"ruby": "ruby", | |
"go": "go run", | |
"lua": "lua", | |
"groovy": "groovy", | |
"powershell": "powershell -ExecutionPolicy ByPass -File", | |
"bat": "cmd /c", | |
"shellscript": "bash", | |
"fsharp": "fsi", | |
"csharp": "scriptcs", | |
"vbscript": "cscript //Nologo", | |
"typescript": "ts-node", | |
"coffeescript": "coffee", | |
"scala": "scala", | |
"swift": "swift", | |
"julia": "julia", | |
"crystal": "crystal", | |
"ocaml": "ocaml", | |
"r": "Rscript", | |
"applescript": "osascript", | |
"clojure": "lein exec", | |
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", | |
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", | |
"racket": "racket", | |
"scheme": "csi -script", | |
"ahk": "autohotkey", | |
"autoit": "autoit3", | |
"dart": "dart", | |
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", | |
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", | |
"haskell": "runhaskell", | |
"nim": "nim compile --verbosity:0 --hints:off --run", | |
"lisp": "sbcl --script", | |
"kit": "kitc --run", | |
"v": "v run", | |
"sass": "sass --style expanded", | |
"scss": "scss --style expanded", | |
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css", | |
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt" | |
}, | |
"code-runner.clearPreviousOutput": true, | |
"liveServer.settings.donotShowInfoMsg": true, | |
"liveServer.settings.donotVerifyTags": true, | |
"settingsSync.ignoredExtensions": [], | |
"code-runner.executorMapByGlob": { | |
"pom.xml": "cd $dir && mvn clean package" | |
}, | |
"intelephense.environment.phpVersion": "8.0.2", | |
"[php]": { | |
"editor.defaultFormatter": "kokororin.vscode-phpfmt" | |
// "editor.defaultFormatter": "bmewburn.vscode-intelephense-client" | |
// "editor.defaultFormatter": "bmewburn.vscode-intelephense-client" | |
// "editor.defaultFormatter": "persoderlind.vscode-phpcbf" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, | |
"editor.minimap.enabled": true, | |
"editor.minimap.maxColumn": 45, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"editor.insertSpaces": false, | |
"phpfmt.enable_auto_align": true, | |
"phpfmt.indent_with_space": false, | |
"window.openFilesInNewWindow": "on", | |
"files.autoSave": "afterDelay", | |
"eslint.format.enable": true, | |
"vetur.format.options.useTabs": true, | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[css]": { | |
"editor.defaultFormatter": "aeschli.vscode-css-formatter" | |
}, | |
"markdown.preview.breaks": true, | |
"editor.unicodeHighlight.ambiguousCharacters": false, | |
"material-icon-theme.showWelcomeMessage": false, | |
"workbench.iconTheme": "material-icon-theme", | |
"files.exclude": { | |
"**/node_modules": true | |
}, | |
"editor.bracketPairColorization.independentColorPoolPerBracketType": true, | |
"window.openFoldersInNewWindow": "on", | |
"oneDarkPro.vivid": true, | |
"workbench.colorCustomizations": { | |
"terminal.foreground": "#88d862", | |
"terminal.background": "#000000", | |
"tab.activeBackground": "#227093", | |
"input.border": "#ffb142", | |
"input.foreground": "#ffb142", | |
"scrollbarSlider.background": "#227093", | |
"badge.background": "#227093", | |
"list.activeSelectionBackground": "#227093", | |
"list.hoverBackground": "#227093", | |
"list.hoverForeground": "#e7ebec", | |
"list.inactiveSelectionBackground": "#227093", | |
"editorGroupHeader.tabsBorder": "#227093", | |
"editor.background": "#000000", | |
"editorGroup.border": "#eb2f06", | |
"editorLineNumber.foreground": "#218c74", | |
"editorLineNumber.activeForeground": "#00FD61", | |
"editorCursor.foreground": "#00FD61", | |
"editorCursor.background": "#00FD61", | |
"editor.selectionBackground": "#ffb0424d", | |
"editor.selectionHighlightBorder": "#ffb142", | |
"editor.findMatchBackground": "#ff424279", | |
"editor.wordHighlightBorder": "#ffb142", | |
"editorBracketMatch.background": "#445e44", | |
"sideBarTitle.foreground": "#1abc9c", | |
"editorBracketMatch.border": "#eb2f06", | |
"window.activeBorder": "#00FD61", | |
"window.inactiveBorder": "#eb2f06", | |
"list.focusBackground": "#eb2f06", | |
"list.focusForeground": "#ffffff", | |
"sideBar.border": "#199b7f", | |
"sideBar.foreground": "#199b7f", | |
"titleBar.activeForeground": "#00ff04af", | |
}, | |
"editor.lineHeight": 25, | |
"workbench.editor.enablePreview": false, | |
"workbench.startupEditor": "none", | |
"cSpell.ignoreWords": [ | |
"shortcodes", | |
"timeframe" | |
], | |
"workbench.editorAssociations": { | |
"*.mp4": "default" | |
}, | |
"[scss]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"terminal.integrated.defaultProfile.osx": "/bin/zsh", | |
"window.commandCenter": true, | |
"terminal.integrated.defaultProfile.linux": "zsh", | |
"terminal.integrated.profiles.linux": { | |
"bash": { | |
"path": "bash", | |
"icon": "terminal-bash" | |
}, | |
"zsh": { | |
"path": "zsh" | |
}, | |
"fish": { | |
"path": "fish" | |
}, | |
"tmux": { | |
"path": "tmux", | |
"icon": "terminal-tmux" | |
}, | |
"pwsh": { | |
"path": "pwsh", | |
"icon": "terminal-powershell" | |
}, | |
"bash (2)": { | |
"path": "/usr/bin/bash" | |
} | |
}, | |
"window.menuBarVisibility": "compact", | |
"[dart]": { | |
"editor.formatOnSave": true, | |
"editor.formatOnType": true, | |
"editor.rulers": [ | |
80 | |
], | |
"editor.selectionHighlight": false, | |
"editor.suggest.snippetsPreventQuickSuggestions": false, | |
"editor.suggestSelection": "first", | |
"editor.tabCompletion": "onlySnippets", | |
"editor.wordBasedSuggestions": false | |
}, | |
"terminal.external.linuxExec": "/usr/bin/zsh", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment