vscode 的代碼提示有時候有,有時候沒有。沒有的時候出現(xiàn)如下報錯:
Sorry, something went wrong activating IntelliCode support for Python. Please check the “Python” and “VS IntelliCode” output windows for details.
不太清楚為什么,把 IntelliCode 的版本換了別的也不好用。
先存一下,以后遇到解決方法再來寫。
解決博文:
1、VSCode 中的 Python 錯誤 :Sorry, 出現(xiàn)問題,激活對 Python 的 IntelliCode 支持
2、Python error in VSCode :Sorry, something went wrong activating IntelliCode support for Python
之前是通過首選項->設(shè)置->prevent修改的,成功了幾次,后來就沒用了。
本次解決這個問題是通過修改python拓展解決的。這個問題很奇怪,每次打開 vscode 都得提心吊膽,不知道這次代碼提示在不在。文章來源:http://www.zghlxwxcb.cn/news/detail-706587.html
正常有智能提示如下圖,自己定義的函數(shù)會加粗,看起來很方便,還會提示不存在的拼寫。文章來源地址http://www.zghlxwxcb.cn/news/detail-706587.html
到了這里,關(guān)于vscode 的代碼提示有時候有,有時候沒有(python)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!