Skip to content

Instantly share code, notes, and snippets.

@agustinprosperi
Last active August 9, 2018 14:16
Show Gist options
  • Save agustinprosperi/9954a54eeec2593e30d945868a64e6c4 to your computer and use it in GitHub Desktop.
Save agustinprosperi/9954a54eeec2593e30d945868a64e6c4 to your computer and use it in GitHub Desktop.
// extensions installed
Alignment
Auto Close Tag
js-beautify for VS Code
vscode-expand-region
highlight-matching-tag
Path Intellisense
Intelephense
vscode-phpcs
phpfmt for Visual Studio Code
vscode-quick-select
Indented Sass syntax highlighting, autocomplete & snippets for VSCode
Paquete de idioma español para VS Code
Sublime Commands for VS Code
WhiteViz
The ultimate WordPress snippet collection for Visual Studio Code
// general conf
{
"editor.renderLineHighlight": "gutter",
// "editor.renderWhitespace": "boundary",
"editor.wordWrap": "on",
"php.suggest.basic": false,
"php.validate.executablePath": "C:/wamp64/bin/php/php7.1.20/php.exe",
"workbench.colorTheme": "Monokai",
"window.openFoldersInNewWindow": "on",
"window.newWindowDimensions": "inherit",
"window.restoreWindows": "all",
"window.zoomLevel": 0,
// whiteviz
"whiteviz.expandedTabIndicator": true,
"whiteviz.skipWordWhitespace": false,
// phpcs
// "phpcs.executablePath": "C:/Users/Agustin/AppData/Roaming/Composer/vendor/squizlabs/php_codesniffer/bin/phpcs.bat",
// "phpcs.standard": "wordpress",
// phpfmt
"phpfmt.detect_indent": true,
"phpfmt.php_bin": "C:/wamp64/bin/php/php7.1.20/php.exe",
"phpfmt.passes": [
"PSR2KeywordsLowerCase",
"PSR2LnAfterNamespace",
// "PSR2CurlyOpenNextLine",
"PSR2ModifierVisibilityStaticOrder",
"PSR2SingleEmptyLineAndStripClosingTag",
"ReindentSwitchBlocks",
"SpaceAroundParentheses"
],
"phpfmt.exclude": [
"ReindentComments",
"StripNewlineWithinClassBody"
],
"phpfmt.psr2": false,
}
// shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+shift+9", "command": "editor.fold", "when": "editorTextFocus" },
// { "key": "ctrl+j", "command": "editor.action.joinLines", "when": "editorFocus" },
// { "key": "ctrl+t", "command": "editor.action.transpose", "when": "editorFocus" },
{ "key": "ctrl+shift+oem_2", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly" },
{ "key": "ctrl+shift+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly" },
{ "key": "ctrl+shift+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly" },
// expand region
{ "key": "ctrl+shift+a","command": "expand_region", "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+a","command": "undo_expand_region", "when": "editorTextFocus && editorHasSelection" },
// quick and simple text selection
{ "key": "ctrl+shift+oem_4", "command": "extension.selectSingleQuote", "when": "editorFocus" },
{ "key": "ctrl+shift+2", "command": "extension.selectDoubleQuote", "when": "editorFocus" },
{ "key": "ctrl+shift+8", "command": "extension.selectParenthesis", "when": "editorFocus" },
{ "key": "ctrl+shift+oem_1", "command": "extension.selectSquareBrackets", "when": "editorFocus" },
{ "key": "ctrl+shift+oem_7", "command": "extension.selectCurlyBrackets", "when": "editorFocus" },
// Sublime Commands
{"key": "ctrl+t", "command": "extension.transpose", "when": "editorFocus"},
{"key": "ctrl+l", "command": "extension.expandToLine", "when": "editorFocus"},
{"key": "shift+ctrl+l", "command": "extension.splitIntoLines", "when": "editorFocus"},
{"key": "ctrl+j", "command": "extension.joinLines", "when": "editorFocus"},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment