📜  导出 vscode 设置和扩展 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:55.101000             🧑  作者: Mango

代码示例1
# to export:

# unix:
code --list-extensions | xargs -L 1 echo code --install-extension

# windows using vscod(e/ium) integrated terminal:
code --list-extensions | % { "code --install-extension $_" }

# to import paste the exported list into the terminal (example):
code --install-extension Angular.ng-template
code --install-extension DSKWRK.vscode-generate-getter-setter
code --install-extension EditorConfig.EditorConfig
code --install-extension HookyQR.beautify
# *code command must be installed. Reference https://code.visualstudio.com/docs/editor/command-line