[英]Python Extension for visual studio code not showing error or warning messages
When i write python code on my visual studio code editor i can't find any warnings or errors .当我在Visual Studio 代码编辑器上编写python代码时,我找不到任何警告或错误。 I installed python extension, I also change the version of that extension.. I also read many documentations of python extension and visual studio but can't find any solution Here is the image...
我安装了python扩展,我还更改了该扩展的版本。我还阅读了 python 扩展和 Visual Studio 的许多文档,但找不到任何解决方案这是图像......
You could use Python code analysis tool "Pylint" or use "Microsoft" or "Pylance" language service in VS Code.您可以使用 Python 代码分析工具“Pylint”或在 VS Code 中使用“Microsoft”或“Pylance”语言服务。
Python code analysis tool "Pylint". Python 代码分析工具“Pylint”。
Please install the module "pylint" in the Python environment currently used in VS Code and enable its use settings.请在VS Code当前使用的Python环境中安装模块“pylint”并启用其使用设置。
Linting Python in Visual Studio Code.在 Visual Studio Code 中整理 Python。
Use "Microsoft" or "Pylance" language services.使用“Microsoft”或“Pylance”语言服务。
Please use it in "settings.json":请在“settings.json”中使用它:
"python.languageServer": "Microsoft",`
or或者
"python.languageServer": "Pylance",
before:前:
after:后:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.