Jupyter

  • VSCode中安装jupter插件

  • 使用#%%分割代码块

  • .ipynb文件中使用jupyter

vscode中运行jupter时提示需要安装ipykernel,安装报错可以执行以下脚本进行安装 打开工程:code + 路径

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ipykernel

Pylance

  • Python › Analysis: auto format string

  • Python › Analysis › Inlay Hints: Call Argument Names

    • 选择partial
  • Python › Analysis: Type Checking Mode

    • 选择standard
  • Python › Analysis: inlay Hints:Function Return Types

IntelliCode Completions

AI自动补全功能

Code Spell Checker

单词拼写检查

Error lens

错误检查