Actualizar la lista de códigos de Visual Studio de archivos
Visual Studio Code (Versión 0.10.11, en OSX) no actualiza los archivos de una carpeta. ¿Hay alguna manera de forzarlo a refrescarse? Actualmente tengo que cerrar y reabrir todo el programa.
6 answers
Utilice el comando workbench.action.reloadWindow
.
Vaya a File -> Preferences -> Keyboard Shotcuts
y defina un atajo para este comando. En mi sistema se encuentra en Ctrl+F5. La entrada en keybindings.json
se ve así:
{
"key": "ctrl+f5",
"command": "workbench.action.reloadWindow",
"when": "editorTextFocus"
}
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-03-30 11:36:10
Puede usar la paleta de comandos para recargar la ventana:
- Abra la paleta de comandos con la vista > Paleta de Comandos... (o Shift+Cmd + P en OS X)
- Escriba
reload window
y presione enter
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-12-27 00:42:55
No debería necesitar recargar toda la ventana, solo la lista de carpetas. Recargar la ventana matará terminales, perderá el historial de deshacer, etc. Prueba este enlace de teclas:
{
"key": "ctrl+f5",
"command": "workbench.files.action.refreshFilesExplorer"
}
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-01-31 17:00:51
Encontré esto hoy con VS Code 1.13.0 y en los atajos de teclado veo
workbench.files.action.refreshFilesExplorer
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-06-14 15:34:31
"Ctrl + Alt + R" en v 1.27.1 a partir del 9/11/18
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-09-11 17:39:31
Para recargar un solo archivo:
- P P
- escriba "Revertir archivo"
En Windows:
- Ctrl + Shift + P
- escriba "Revertir archivo"
Probado en VSCode v1.18.1 en Windows
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-12-10 20:22:30