Skip to content

Instantly share code, notes, and snippets.

@rafamancan
Last active April 11, 2018 17:41
Show Gist options
  • Save rafamancan/f54e6a60c2ed309e2b2ff3a32f866067 to your computer and use it in GitHub Desktop.
Save rafamancan/f54e6a60c2ed309e2b2ff3a32f866067 to your computer and use it in GitHub Desktop.
{
// Editor
"editor.fontSize": 18,
"editor.fontFamily": "Menlo",
"editor.fontWeight": "normal",
"editor.lineHeight": 20,
"editor.lineNumbers": "on",
"editor.rulers": [120],
"editor.wordWrap": "off",
"editor.tabSize": 4,
"editor.autoClosingBrackets": true,
"editor.selectionHighlight": true,
"editor.cursorStyle": "line-thin",
"editor.cursorBlinking": "smooth",
"editor.renderWhitespace": "boundary",
"editor.renderControlCharacters": false,
"editor.renderIndentGuides": false,
"editor.renderLineHighlight": "line",
"editor.folding": true,
"editor.matchBrackets": true,
"editor.useTabStops": true,
"editor.trimAutoWhitespace": true,
"editor.formatOnSave": false,
"editor.dragAndDrop": true,
"editor.minimap.enabled": false,
// Emmet
"emmet.triggerExpansionOnTab": true,
"emmet.showExpandedAbbreviation": "never",
// Workbench
"workbench.editor.showTabs": true,
"workbench.editor.openPositioning": "right",
"workbench.settings.openDefaultSettings": true,
"workbench.sideBar.location": "left",
"workbench.statusBar.visible": true,
"workbench.activityBar.visible": true,
"workbench.editor.closeOnFileDelete": false,
"workbench.tips.enabled": true,
"workbench.colorTheme": "One Dark Pro",
// Window
"window.openFilesInNewWindow": "off",
"window.title": "${activeEditorMedium}${separator}${rootPath}",
"window.newWindowDimensions": "maximized",
// Files
"files.encoding": "utf8",
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": false,
"files.autoSave": "off",
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/node_modules/**": true,
"**/vendor/**": true
},
"files.hotExit": "onExitAndWindowClose",
// File Explorer
"explorer.enableDragAndDrop": true,
// Search
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/vendor": true
},
// Extensions for all extension auto update
"extensions.autoUpdate": false,
// Git extension
"git.enabled": true,
"git.autorefresh": true,
"git.autofetch": true,
"git.path": "C:/cmder/vendor/git-for-windows/bin/git.exe",
// Language: PHP
"php.suggest.basic": false, // using PHP IntelliSense
"php.validate.enable": true,
"php.validate.executablePath": "C:/php-7/php.exe",
"php.executablePath": "C:/php-7/php.exe",
"phpformatter.phpPath": "C:/php-7/php.exe",
"php.validate.run": "onSave",
"phpfmt.php_bin": "C:\\php-7\\php.exe",
// Enable per-language
"[php]": {
"editor.formatOnSave": true
},
// Extension: TODO Highlight
"todohighlight.keywords": [{
"text": "TODO",
"color": "#fff", // White
"backgroundColor": "#7c4dff" // Deep Purple A200
},
{
"text": "FIXME",
"color": "#fff", // White
"backgroundColor": "#ff5252" // Red A200
},
{
"text": "XXX",
"color": "#000", // Black
"backgroundColor": "#ffd740" // Amber A200
},
{
"text": "NOTE",
"color": "#000", // Black
"backgroundColor": "#eee" // Grey 200
}
],
// Extension: Git lens
"extensions.ignoreRecommendations": false,
"git.enableSmartCommit": true,
// Extension: PHP CS Fixer
"phpformatter.composer": true,
"phpformatter.arguments":["--rules=@psr2"],
"phpcs.standard": "PSR2",
"git.confirmSync": false,
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 4
},
// Extension: Trailing Spaces
"trailing-spaces.trimOnSave": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment