vscode 基本使用

vscode 基本使用

  1. 设置project目录缩进
    • 英文版:File --> Preformences --> Settings
    • 中文版:文件 --> 首选项 --> 设置
    • 搜索框输入:workbench > tree
  2. vscode 选择Python解释器
    • 通过左边栏插件,搜索并安装python插件
    • 本地安装anaconda,并创建虚拟环境
    • (ctrl + shift + P)命令面板 --> python: select interpreter
  3. 折叠代码
    • 折叠所有区域代码的快捷: ctrl + k ctrl + 0
    • 展开所有折叠区域代码的快捷:ctrl +k ctrl + J
    • 光标所在函数, Ctrl+Shift+[ 折叠,Ctrl+Shift+] 展开
posted @ 2022-05-02 00:11  疯狂列表推导式  阅读(31)  评论(0编辑  收藏  举报