gpt4 book ai didi

VSCode 的 Python 自动导入扩展

转载 作者:太空狗 更新时间:2023-10-29 16:56:57 29 4
gpt4 key购买 nike

是否有适用于 Visual Studio Code 的 Python 自动导入扩展/插件?

我所说的自动导入是指自动导入 python 模块。 Eclipse 和 Intellij 在 Java 中具有此功能。

最佳答案

VSCode 团队最近发布 Pylance

Features

  • Docstrings
  • Signature help, with type information
  • Parameter suggestions
  • Code completion
  • Auto-imports (as well as add and remove import code actions)
  • As-you-type reporting of code errors and warnings (diagnostics)
  • Code outline
  • Code navigation
  • Code lens (references/implementations)
  • Type checking mode
  • Native multi-root workspace support
  • IntelliCode compatibility
  • Jupyter Notebooks compatibility

关于VSCode 的 Python 自动导入扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46743068/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com