来源:https://stackoverflow.com/questions/35368889/how-can-i-export-settings
With the current version of Visual Studio Code as of this writing (1.22.1), you can find your settings in
~/.config/Code/User
on Linux (in my case, an, Ubuntu derivative)%APPDATA%\Code\User
(C:\Users\username\AppData\Roaming\Code\User
) on Windows~/Library/Application Support/Code/User/
on Mac OS X (thank you, Christophe De Troyer)
The files are settings.json
and keybindings.json
. Simply copy them to the target machine.
Your extensions are in
~/.vscode/extensions
on Linux and Mac OS X%USERPROFILE%\.vscode\extensions
(C:\Users\username\.vscode\extensions
) on Windows (i.e., essentially the same place as on Linux and Mac OS X)
Alternately, just go to the Extensions, show installed extensions, and install those on your target installation. For me, copying the extensions worked just fine, but it may be extension-specific, particularly if moving between platforms, depending on what the extension does.
标签:Code,vscode,配置,Mac,extensions,User,迁移,OS From: https://www.cnblogs.com/yinhuachen/p/16939619.html