在ubuntu下经常写代码,试了不少IDE,Visual Studio Code用起来还是比较舒服的,装的时候发现网上不少教程有一点小问题。
先安装一般umake没有问题
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
但接下来如果执行
umake web visual-studio-code
就会报错
usage: umake web [-h] {firefox-dev,phantomjs} ... umake web: error: argument framework: invalid choice: 'visual-studio-code' (choose from 'firefox-dev', 'phantomjs')
这是因为visual-studio-code不在Web选项里,应该是在ide中,故正确应该如下
sudo umake ide visual-studio-code
安装好后直接在搜索里面找到并锁定到任务栏就可以了。