Juli 2018 brachte uns VS Code User Windows Setup. Ein Grund zum Wechsel: Updates ohne Administratorrechte. Bestehende Programmversion deinstallieren (Einstellungen und Erweiterungen bleiben erhalten). Neues Setup ausführen (z.B. C:\VSCode). Folgenden Registry-Eintrag oder entsprechende Option beim Setup anverwenden.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\VSCode\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\VSCode\\Code.exe\" \"%1\"" |
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\VSCode\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\VSCode\\Code.exe\" \"%1\""
"editor.rulers": [80],
"workbench.colorCustomizations": {
"editorRuler.foreground": "#ff4081"
} |
"editor.rulers": [80],
"workbench.colorCustomizations": {
"editorRuler.foreground": "#ff4081"
}
"files.associations": {
"*.bat": "bat",
"*.cmd": "bat"
},
"[bat]": {
"files.encoding": "cp850"
} |
"files.associations": {
"*.bat": "bat",
"*.cmd": "bat"
},
"[bat]": {
"files.encoding": "cp850"
}
Workspace
%userprofile%\AppData\Roaming\Code\User\workspaceStorage
%userprofile%\AppData\Roaming\Code\logs |
%userprofile%\AppData\Roaming\Code\User\workspaceStorage
%userprofile%\AppData\Roaming\Code\logs
Troubleshooting
Repository redhat-developer/vscode-java auf Github mit Wiki/Troubleshooting.
Einstellungen
Einstellungen und Erweiterungen von Visual Studio Code sind mit „Settings Sync“ von Shan Khan einfach von Arbeitsplatz zu Arbeitsplatz zu transportieren. Die Erweiterung installieren und mit Shift+Alt+U für den Upload bzw. Shift+Alt+D für den Download beim ersten Mal die Konfiguration öffnen. Gist-ID und Zugriffs-Token eingeben. Fertig!
Synchronisation
Encrypt Cloud Storage mit Rclone
rclone copy --progress C:\Entwicklung\Projekte\Xyz encrypted: |
rclone copy --progress C:\Entwicklung\Projekte\Xyz encrypted:
Erweiterungen