Saltar a contenido

38. VSCODE

38.1 Revisar y ampliar

  • Asignación de teclas en keybindings.json , por ejemplo para aplicar un snippet cuando se selecciona un bloque de texto.

38.2 Extensiones

38.2.1 Spanish language pack por vscode de Microsoft

Traduce menus y comandos a español.

38.2.2 Trabajo en remoto

  • Remote SSh revisar https://www.google.com/search?client=safari&rls=en&q=vscode+ssh+sin+clave&ie=UTF-8&oe=UTF-8#fpstate=ive&vld=cid:a16c59da,vid:b5wPlBH9rEg
  • Remote WSL
  • Remote Container
  • Remotre ssh editing configuration

Un poco distinto a los anteriores Live share de Microsoft para colaboración en tiempo real.

38.2.3 TODO TREE & TODO HIGHLIGHT

TODO TREE: This extension quickly searches ("using ripgrep") your workspace for comment tags like TODO and FIXME, and displays them in a tree view in the explorer pane. Clicking a TODO within the tree will open the file and put the cursor on the line containing the TODO.

38.2.4 Bookmark

https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks

38.2.5 Auto rename tag

Al cambiar una etiqueta html de apertura, cambia la etiqueta de cierre.

38.2.6 Bracket pair colorized

Pone mismo color en parentesis de apertura y cierre en javascript

38.2.7 Git lens supercharged

Pendiente

38.2.8 Python Environment Manager

Ver esta presentación

38.3 GITHUB Y GITLAB CON SSH

Para evitar el error "ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass" usamos http://it.gerull.nl/blog/2018/ssh-agent-on-mac/

Creamos el fichero ~/.ssh/config con el siguiente contenido

Host *
 AddKeysToAgent yes
 UseKeychain yes
 IdentityFile ~/.ssh/id_rs`

Edit ~/.zshrc

38.4 Python VSCode

Ver este artículo. En especial la extensión Python environment manager