Backto VS Code
Pylance 是 微软在 2020.06.01 发布的一款 python 语言支持 vs code 插件。
Fast, feature-rich language support for Python
Pylance is an extension that works alongside Python in Visual Studio Code to provide performant language support. Under the hood, Pylance is powered by Pyright, Microsoft’s static type checking tool. Using Pyright, Pylance has the ability to supercharge your Python IntelliSense experience with rich type information, helping you write better code faster.
The Pylance name is a small ode to Monty Python’s Lancelot who was the first knight to answer the bridgekeeper’s questions in the Holy Grail.
新特性很足,给 Python 开发带来了 C++/Java 般的语言支持。
具体演示,Ctr + Sht + X
看 Pylance
的官方文档,也可参考以下博客
Ctr + Left Click
: 代码跳转