vscode extension 插件管理

Command line extension management
To make it easier to automate and configure VS Code, 

it is possible to list, install, 
and uninstall extensions from the command line. 

When identifying an extension, 
provide the full name of the form publisher.extension, for example ms-python.python.

Set the root path for extensions.
code --extensions-dir 

List the installed extensions.
code --list-extensions

Show versions of installed extensions, when using --list-extension.
code --show-versions

Installs an extension.
code --install-extension ( | )

Uninstalls an extension.
code --uninstall-extension ( | )

Enables proposed API features for extensions. Can receive one or more extension IDs to enable individually.
code --enable-proposed-api () 


 

repeat() { while :; do $@ && return; sleep 10; done }

echo 开始获取已经安装的插件
installed=`code --list-extensions 2>&1`
echo 完成获取全部已经安装插件

tryin() {
    ison=$(echo "$installed" | grep $1)
    if [[ "$ison" != "" ]]
    then
        echo "略,早都安完了,$1"
        return 0
    fi

    echo "正在试 $1"
    msg=`code --install-extension $1 2>&1`
    echo "尝试 $1 结果: $msg"
    result=$(echo "$msg" | grep -P "TIME.*OUT | getaddrinfo.*NOT.*FOUND")
    if [[ "$result" != "" ]]
    then
        echo "网不好,再试: $1"
        return 1
    else
        echo "应该安装完了: $1"
        return 0
    fi
}

 

 

2020

 

13xforever.language-x86-64-assembly
aaron-bond.better-comments
abierbaum.vscode-file-peek
abusaidm.html-snippets
adamhartford.vscode-base64
adamwalzer.string-converter
AlanWalk.markdown-toc
alefragnani.Bookmarks
alefragnani.project-manager
alexcvzz.vscode-sqlite
annsk.alignment
bajdzis.vscode-database
bbenoist.shell
bibhasdn.unique-lines
bierner.markdown-checkbox
bierner.markdown-emoji
bierner.markdown-preview-github-styles
brunnerh.insert-unicode
burkeholland.simple-react-snippets
chrisdias.vscode-opennewinstance
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
chrmarti.regex
CoenraadS.bracket-pair-colorizer
cschlosser.doxdocgen
cssho.vscode-svgviewer
d9705996.perl-toolbox
dakara.transformer
darkriszty.markdown-table-prettify
DavidAnson.vscode-markdownlint
dbaeumer.jshint
dbaeumer.vscode-eslint
donjayamanne.githistory
donjayamanne.python-extension-pack
DotJoshJohnson.xml
dsznajder.es7-react-js-snippets
dtsvet.vscode-wasm
eamodio.gitlens
earshinov.permute-lines
ecmel.vscode-html-css
EditorConfig.EditorConfig
EFanZh.graphviz-preview
eg2.vscode-npm-script
eriklynd.json-tools
esbenp.prettier-vscode
everettjf.filter-line
faustinoaq.lex-flex-yacc-bison
fcrespo82.markdown-table-formatter
florianloch.text-transform
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
formulahendry.code-runner
geeklearningio.graphviz-markdown-preview
goessner.mdmath
gogocrow.webpack-snippets
GrapeCity.gc-excelviewer
hdg.live-html-previewer
helixquar.asciidecorator
HookyQR.beautify
HungVo.htext
IBM.output-colorizer
idleberg.emoji-code
James-Yu.latex-workshop
janisdd.vscode-edit-csv
jebbs.plantuml
jeremyrajan.webpack
jerriepelser.copy-markdown-as-html
jkjustjoshing.vscode-text-pastry
jock.svg
kriegalex.vscode-cudacpp
leizongmin.node-module-intellisense
liximomo.sftp
lmcarreiro.vscode-smart-column-indenter
luggage66.AWK
magicstack.MagicPython
maptz.regionfolder
Mebrahtom.plantumlpreviewer
mechatroner.rainbow-csv
mgmcdermott.vscode-language-babel
mhutchie.git-graph
miramac.vscode-exec-node
mitchdenny.ecdc
mohsen1.prettify-json
mrmlnc.vscode-json5
ms-azuretools.vscode-docker
ms-kubernetes-tools.vscode-kubernetes-tools
ms-python.python
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.cmake-tools
ms-vscode.powershell
ms-vscode.Theme-MarkdownKit
ms-vscode.vscode-typescript-tslint-plugin
msjsdiag.debugger-for-chrome
msjsdiag.vscode-react-native
mtxr.sqltools
numso.prettier-standard-vscode
octref.vscode-json-transform
oijaz.unicode-latex
qcz.text-power-tools
qhoekman.language-plantuml
quicktype.quicktype
redhat.vscode-yaml
RomanPeshkov.vscode-text-tables
ryu1kn.edit-with-shell
ryu1kn.partial-diff
ryu1kn.text-marker
sandcastle.whitespace
sensourceinc.vscode-sql-beautify
shakram02.bash-beautify
shd101wyy.markdown-preview-enhanced
shuworks.vscode-table-formatter
sidthesloth.html5-boilerplate
sidthesloth.svg-snippets
SimonSiefke.svg-preview
sleistner.vscode-fileutils
slevesque.shader
slevesque.vscode-autohotkey
steoates.autoimport
Stephanvs.dot
stkb.rewrap
supakornras.asymptote
technosophos.vscode-helm
twxs.cmake
Tyriar.sort-lines
vincaslt.highlight-matching-tag
VisualStudioExptTeam.vscodeintellicode
vscode-icons-team.vscode-icons
vscoss.vscode-ansible
waderyan.gitblame
whiteout2.x86
wmaurer.join-lines
Wscats.eno
wwm.better-align
xabikos.JavaScriptSnippets
xabikos.ReactSnippets
ybaumes.highlight-trailing-white-spaces
Yog.yog-plantuml-highlight
yzane.markdown-pdf
zeithaste.cursorCharCode
zh9528.file-size
Zignd.html-css-class-completion
zxh404.vscode-proto3

 

posted @ 2019-03-21 22:58  fndefbwefsowpvqfx  阅读(2442)  评论(0编辑  收藏  举报