Python Visual Studio code import 语法问题 // color
Python Visual Studio code import Syntax problems // color
由于某些原因,我的 Visual Studio 代码没有显示导入库的颜色。
在附件中你明白我的意思了。
我已经试过了:
- 已卸载 vsc 并重新安装
- 删除了 (%APPDATA%\Code\User)
中的 settings.json
- 卸载所有扩展并重新安装
如果您知道我该如何修复它,请告诉我。:)
这张照片是我现在的vsc,没有任何颜色了
这张图片显示了 vsc 应该如何着色
这是 VSCode 最新更新的问题。 Here is a bug report showing the same problems. Changing linters seems not to fix the issue at the moment. Here are the patch notes as well, even though they aren't helpful here. I suggest downgrading VSCode if you want to fix this issue, which may require you to first uninstall it and then reinstall from here。希望他们能尽快 post 就此问题发表声明,以便更永久地解决问题。
此问题已在 Python 扩展的最新更新中得到修复。 Link。重新启动 VSCode,导航到扩展页面,然后单击 Python 扩展上的重新加载。
由于某些原因,我的 Visual Studio 代码没有显示导入库的颜色。
在附件中你明白我的意思了。
我已经试过了:
- 已卸载 vsc 并重新安装
- 删除了 (%APPDATA%\Code\User) 中的 settings.json
- 卸载所有扩展并重新安装
如果您知道我该如何修复它,请告诉我。:)
这张照片是我现在的vsc,没有任何颜色了
这张图片显示了 vsc 应该如何着色
这是 VSCode 最新更新的问题。 Here is a bug report showing the same problems. Changing linters seems not to fix the issue at the moment. Here are the patch notes as well, even though they aren't helpful here. I suggest downgrading VSCode if you want to fix this issue, which may require you to first uninstall it and then reinstall from here。希望他们能尽快 post 就此问题发表声明,以便更永久地解决问题。
此问题已在 Python 扩展的最新更新中得到修复。 Link。重新启动 VSCode,导航到扩展页面,然后单击 Python 扩展上的重新加载。