比較有難度的是搭建c語言的開發環境,網上有一大堆的教程,但是對於初學者來說確實還是很有難度,經常會出現很多莫名其妙的錯誤。無論安裝什麼軟體,官方給出的官方文件都是最有說服力的在這裡很多問題都可以找到答案,但是閱讀官方文件也有比較大的難度,因此在csdn、知乎等平台找到優質的部落格或者文章就很有必要。
有關vscode安裝並配置c語言環境的問題,可以參考另一篇文章
前面的安裝minggw以及一些必要外掛程式都有列出,python特有的外掛程式是
python:寫python的外掛程式
"
,"cwd"
:"$"
,"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"]}
,/bin/spark-submit"},
"windows"
:/bin/spark-submit.cmd"},
"linux"
:/bin/spark-submit"},
"program"
:"$"
,"cwd"
:"$"
,"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"]}
,","module"
:"module.name"
,"cwd"
:"$"
,"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"]}
,","program"
:"$"
,"cwd":""
,"console"
:"integratedterminal"
,"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"]}
,","program"
:"$"
,"cwd":""
,"console"
:"externalterminal"
,"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"]}
,","program"
:"$/manage.py"
,"cwd"
:"$"
,"args":[
"runserver"
,"--noreload"
,"--nothreading"],
"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"
,"djangodebugging"]}
,","program"
:"fully qualified path fo 'flask' executable. generally located along with python interpreter"
,"cwd"
:"$"
,"env":,
"args":[
"run"
,"--no-debugger"
,"--no-reload"],
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"]}
,","program"
:"$/run.py"
,"cwd"
:"$"
,"args":[
],"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"]}
,","cwd"
:"$"
,"env":,
"envfile"
:"$/.env"
,"args":[
"$/development.ini"],
"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"
,"pyramid"]}
,","program"
:"$/console.py"
,"cwd"
:"$"
,"args":[
"dev"
,"runserver"
,"--noreload=true"],
"env":,
"envfile"
:"$/.env"
,"debugoptions":[
"waitonabnormalexit"
,"waitonnormalexit"
,"redirectoutput"]}
,","remoteroot"
:"$"
,"port"
:3000
,"secret"
:"my_secret"
,"host"
:"localhost"}]
}
再來配置tasks.json
檔案
"]}
]}
具體的路徑需要自己改一下
之後寫乙個簡單的例子嘗試輸出,來測試python環境是否成功配置
安裝配置vscode
sudo dpkg i code 1.24.1 1528912196 amd64.deb 安裝完成後看自己個人的習慣是否設定語言 ctrl shift p 在上方輸入框輸入 language 選擇configure display language 中文設定成英文輸入 配置語言 開啟locale.j...
VSCODE安裝和常用配置
vscode中文顯示 常用操作 以下都是windows下的快捷鍵 f1 或者cmd shift p win ctrl shift p 開啟命令面板是vscode快捷鍵的主要互動介面 home 移動到行首 cmd 左方向鍵 end 到行尾 cmd 右方向鍵 ctrl home end 移動到文件的開頭...
如何安裝並使用conda指令管理python環境
一 動機 最近打算折騰vn.py,但只有py27版本的,因為一向習慣使用最新穩定版的,所以不得不裝py27的環境,不得不說 python的全域性鎖真的很煩。身為懶癌患者,必然使用全功能的anaconda,但不想同時裝py27和py35兩個版本的anaconda巨無霸 同時裝兩個,不知道conda是否...