yiyi1010
V2EX  ›  Python

VS code 中的 PyLance 为什么有文件夹下的 py 文件 不管用

By yiyi1010 at 2023 年 2 月 1 日 · 2327 次点击

同一份服务器上,不同文件夹,不同环境,VS code 中有写文件下 pylance 能用,可以把 package 用不同颜色标出,而且可以用 转到定义。但是有些文件下 pylance 好像没起作用,package 没有用不同颜色分开,而且不能用 转到定义?这是什么原因?有办法吗?

目前尚无回复
推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
© 2026 V2EX · 30ms · 3.9.8.5