Created
July 24, 2018 15:22
-
-
Save n8finch/484c79b6169bf290002b9555de19973d to your computer and use it in GitHub Desktop.
Visual Studio Code settings
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
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 15, | |
"editor.wordWrap": "on", | |
"editor.minimap.enabled": false, | |
"workbench.colorTheme": "Atom One Dark", | |
"workbench.colorCustomizations": { | |
"editor.background": "#000000", | |
"sideBar.background": "#000000", | |
}, | |
"workbench.iconTheme": "file-icons", | |
"atomKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.formatOnPaste": true, | |
"terminal.integrated.fontSize": 14, | |
"phpcs.standard": "WordPress", | |
// Set the default | |
"editor.formatOnSave": false, | |
// Enable per-language | |
"[php]": { | |
"editor.formatOnSave": true, | |
"phpfmt.indent_with_space": 4, | |
"phpfmt.passes": [ | |
"PSR2KeywordsLowerCase", | |
"PSR2LnAfterNamespace", | |
"PSR2CurlyOpenNextLine", | |
"PSR2ModifierVisibilityStaticOrder", | |
"PSR2SingleEmptyLineAndStripClosingTag", | |
"ReindentSwitchBlocks" | |
], | |
"phpfmt.exclude": [ | |
"ReindentComments", | |
"StripNewlineWithinClassBody" | |
], | |
"phpfmt.psr2": false | |
}, | |
// Control whether warnings are displayed. | |
"phpcs.showWarnings": false, | |
// The minimum severity an error must have to be displayed. Default is 5, 10 to hide all warnings | |
"phpcs.errorSeverity": 10, | |
"highlight.regexes": { | |
"(TODO)(:)": [ // A regex will be created from this string, don't forget to double escape it | |
{ | |
"color": "khaki" | |
}, // Decoration options to apply to the first matching group, in this case "//TODO" | |
{ | |
"color": "silver" | |
} // Decoration options to apply to the second matching group, in this case ":" | |
] | |
}, | |
"beautify.language": { | |
"js": { | |
"type": [ | |
"javascript", | |
"json" | |
], | |
"filename": [ | |
".jshintrc", | |
".jsbeautifyrc" | |
], | |
"indent_size": 4, | |
}, | |
"css": { | |
"type": [ | |
"css", | |
"scss", | |
], | |
"indent_size": 4, | |
}, | |
"html": { | |
"type": [ | |
"htm", | |
"html" | |
], | |
"indent_size": 4, | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment