Outils pour utilisateurs

Outils du site


devweb:vscode (lu 27111 fois)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
devweb:vscode [19-03-2024 08:52] – [Remote] edmc73devweb:vscode [08-07-2025 20:03] (Version actuelle) – [Problème] edmc73
Ligne 4: Ligne 4:
  
 User Setting User Setting
 +
 +Le thème "GitHub Dark" est sympa aussi
  
 <code json> <code json>
 { {
     "telemetry.telemetryLevel": "off",     "telemetry.telemetryLevel": "off",
-    "workbench.colorTheme": "Default Dark+",+    "workbench.colorTheme": "Bearded Themanopia (Experimental)",
     "editor.autoIndent": "advanced",     "editor.autoIndent": "advanced",
     "editor.wordWrap": "on",     "editor.wordWrap": "on",
Ligne 51: Ligne 53:
     "update.mode": "manual",     "update.mode": "manual",
     "workbench.editor.empty.hint": "hidden",     "workbench.editor.empty.hint": "hidden",
-    "diffEditor.ignoreTrimWhitespace": false+    "diffEditor.ignoreTrimWhitespace": false
 +    "workbench.colorCustomizations":
 +        "gitDecoration.modifiedResourceForeground":"#e6b61a" 
 +    }, 
 +    "editor.smoothScrolling": true, 
 +    "workbench.list.smoothScrolling": true, 
 +    "terminal.integrated.smoothScrolling": true 
 } }
  
Ligne 96: Ligne 105:
         "key": "ctrl+shift+o",         "key": "ctrl+shift+o",
         "command": "-workbench.action.gotoSymbol"         "command": "-workbench.action.gotoSymbol"
 +    },
 +    {
 +        "key":"ctrl+b",
 +        "scope":"html",
 +        "command":"editor.action.insertSnippet",
 +        "when":"editorTextFocus",
 +        "args":{
 +            "snippet":"<strong>$TM_SELECTED_TEXT</strong>$0"
 +        }
 +    },
 +    {
 +        "key":"ctrl+i",
 +        "scope":"html",
 +        "command":"editor.action.insertSnippet",
 +        "when":"editorTextFocus",
 +        "args":{
 +            "snippet":"<em>$TM_SELECTED_TEXT</em>$0"
 +        }
 +    },
 +    {
 +        "key": "ctrl+oem_7",
 +        "command": "workbench.action.toggleSidebarVisibility"
 +    },
 +    {
 +        "key": "ctrl+b",
 +        "command": "-workbench.action.toggleSidebarVisibility"
 +    },
 +    {
 +        "key": "ctrl+oem_5",
 +        "command": "workbench.files.action.showActiveFileInExplorer"
 +    }
 +]
 +
 +
 +-- parfois
 +
 +    {
 +        "key": "ctrl+[Backslash]",
 +        "command": "workbench.files.action.showActiveFileInExplorer"
     },     },
     {     {
Ligne 101: Ligne 149:
         "command": "workbench.action.terminal.toggleTerminal"         "command": "workbench.action.terminal.toggleTerminal"
     }     }
-] 
 </code> </code>
  
Ligne 119: Ligne 166:
   * Better Align   * Better Align
   * EditorConfig for VS Code   * EditorConfig for VS Code
 +  * Git Graph
   * Laravel Artisan   * Laravel Artisan
   * Laravel Blade formatter   * Laravel Blade formatter
Ligne 128: Ligne 176:
   * laravel-goto-components   * laravel-goto-components
   * laravel-jump-controller   * laravel-jump-controller
 +  * PHP Intelephense (ben mewburn)
   * PHP IntelliSense   * PHP IntelliSense
   * PHP Namespace Resolver   * 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.   * 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.
 +
 +
 +Si y'a un problème de droit sous windows sur les clés ssh
 +
 +
 +<code>
 +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 +@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
 +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 +Permissions for 'id_rsa' are too open.
 +It is required that your private key files are NOT accessible by others.
 +</code>
 +
 +Faire un clic droit sur votre fichier, propriété, Sécurité, Avancé, Désactiver l'héritage et choisir de tout supprimer.
 +
 +Ajouter, rechercher son login et mettre contrôle total, valider
 +
  
devweb/vscode.1710838367.txt.gz · Dernière modification : de edmc73