Visual Studio Code 8 月 Python 扩展更新

2019-08-27

JiangRen Mr

Jupyter Notebook 单元调试

此版本正式发布了 Jupyter Notebook 单元调试功能(cell debug),使用该功能,开发者可以设置断点并单击单元格定义中显示的“调试单元”选项。这将启动一个调试会话,用于代码跟进、检查变量并设置监控,与调试 Python 文件或应用类似。

Insiders 程序

该功能让开发者可以轻松选择加入内部开发人员计划,可以在版本发布之前尝试新功能和 bug 修复。可选每周或每日的更新节奏,自动安装 Python 扩展的最新 Insiders 版本。

改进自动缩进

此版本支持 else、elif、final、break、continue、pass 和 raise 等语法的自动缩进。

改进 Python 语言服务器

此版本使用 Python 语言服务器为“转到定义”添加了新功能,现在可以定位到定义变量的代码的位置,同时还添加了“转到声明”。

包查看器(package watcher)有一些修复,以往 import 了环境中未安装的软件包时,通过 pip 安装该软件包并不能解决错误,并且用户将被迫重新加载整个 VS 代码窗口,现在这个问题已经解决了。

此外还有其它方面的 bug 修复与功能改进,另外官方还对新功能开启了 A/B 测试,所以如果发现还没有公布的新功能,那很可能是正在参与内测。要查看自己是否参与了内测,可以检查 Python 扩展输出栏中的第一行,如果希望退出 A/B 测试,可以在 Visual Studio Code 中禁用遥测。

详情查看:

https://devblogs.microsoft.com/python/python-in-visual-studio-code-august-2019-release

近期开课hot

Python零基础入门

start2025/02/12 03:14 (Sydney)

Web全栈班24期 NodeJS方向

start2024/12/08 11:30 (Sydney)

logo

Follow Us

linkedinfacebooktwitterinstagramweiboyoutubebilibilitiktokxigua

We Accept

/image/layout/pay-paypal.png/image/layout/pay-visa.png/image/layout/pay-master-card.png/image/layout/pay-stripe.png/image/layout/pay-alipay.png

地址

Level 10b, 144 Edward Street, Brisbane CBD(Headquarter)
Level 2, 171 La Trobe St, Melbourne VIC 3000
四川省成都市武侯区桂溪街道天府大道中段500号D5东方希望天祥广场B座45A13号
Business Hub, 155 Waymouth St, Adelaide SA 5000

Disclaimer

footer-disclaimerfooter-disclaimer

JR Academy acknowledges Traditional Owners of Country throughout Australia and recognises the continuing connection to lands, waters and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders past and present. Aboriginal and Torres Strait Islander peoples should be aware that this website may contain images or names of people who have since passed away.

匠人学院网站上的所有内容,包括课程材料、徽标和匠人学院网站上提供的信息,均受澳大利亚政府知识产权法的保护。严禁未经授权使用、销售、分发、复制或修改。违规行为可能会导致法律诉讼。通过访问我们的网站,您同意尊重我们的知识产权。 JR Academy Pty Ltd 保留所有权利,包括专利、商标和版权。任何侵权行为都将受到法律追究。查看用户协议

© 2017-2024 JR Academy Pty Ltd. All rights reserved.

ABN 26621887572