====== VSCode ======
===== Mes paramètres =====
User Setting
{
"telemetry.telemetryLevel": "off",
"workbench.colorTheme": "Default Dark+",
"editor.autoIndent": "advanced",
"editor.wordWrap": "on",
"zenMode.hideLineNumbers": false,
"zenMode.centerLayout": false,
"security.workspace.trust.untrustedFiles": "open",
"editor.renderWhitespace": "trailing",
"editor.linkedEditing": true,
"editor.suggest.insertMode": "replace",
"editor.acceptSuggestionOnCommitCharacter": false,
"scm.autoReveal": false,
"workbench.tree.indent": 15,
"workbench.tree.renderIndentGuides": "always",
"emmet.triggerExpansionOnTab": true,
"editor.fontSize": 15,
"php.suggest.basic": false,
"gitlens.graph.minimap.enabled": false,
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": true,
"database-client.showFilter": true,
"editor.fontFamily": "'Fira Code Light','Consolas', 'Courier New', monospace",
"editor.lineHeight": 1.5,
"terminal.integrated.copyOnSelection": true,
"explorer.autoReveal": false,
"remote.SSH.connectTimeout": 120,
"auto-close-tag.SublimeText3Mode": true,
"htmlEndTagLabels.labelPrefix": " --> ",
"intelephense.diagnostics.undefinedFunctions": false,
"intelephense.diagnostics.undefinedMethods": false,
"intelephense.diagnostics.undefinedClassConstants": false,
"intelephense.diagnostics.undefinedTypes": false,
"editor.stickyScroll.enabled": true,
"editor.stickyScroll.maxLineCount": 10,
"editor.minimap.enabled": false,
"namespaceResolver.sortAlphabetically": true,
"workbench.editor.pinnedTabsOnSeparateRow": true,
"window.density.editorTabHeight": "compact",
"workbench.editor.doubleClickTabToToggleEditorGroupSizes": "maximize",
"gitlens.hovers.currentLine.enabled": false,
"git.confirmSync": false,
"update.enableWindowsBackgroundUpdates": false,
"update.mode": "manual",
"workbench.editor.empty.hint": "hidden",
"diffEditor.ignoreTrimWhitespace": false
}
Keyboard Shortcut
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "ctrl+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+r",
"command": "workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "ctrl+[Quote]",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+[Backslash]",
"command": "workbench.files.action.showActiveFileInExplorer"
}
]
===== Mes extensions =====
==== Local ====
* Bearded Theme
* DotENV
* Laravel Snippets
* Remote - SSH
* Remote - SSH: Editing Configuration Files
* Remote Explorer
==== Remote ====
* Better Align
* EditorConfig for VS Code
* Laravel Artisan
* Laravel Blade formatter
* Laravel Blade Snippets
* Laravel Blade Wrapper
* Laravel Create View
* Laravel Extension Pack
* Laravel goto view
* laravel-goto-components
* laravel-jump-controller
* PHP IntelliSense
* PHP Namespace Resolver
* PHP (DEVSENSE) All-in-One PHP support IntelliSense, Debug, Formatter, Code Lenses, Code Fixes, Linting, Refactoring, PHPUnit Tests, Web Server, and more.
===== Problème =====
Sous linux, parfois un Ctrl+Z pour faire "Undo" exécute un Ctrl+W, ce qui ferme l'onglet. Pour corriger le problème ->
* https://github.com/Microsoft/vscode/wiki/Keybinding-Issues#troubleshoot-linux-keybindings
use "keyboard.dispatch": "keyCode" in your settings and restart VS Code. This will prevent VS Code from trying to determine your keyboard layout whatsoever.