VSCode使用优化

终端输出

//launch.json

{
    // 使用 IntelliSense 了解相关属性。 
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: 当前文件",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            //"console": "integratedTerminal" //终端显示所有信息
            "console": "internalConsole"      //终端只显示输出信息
        }
    ]
}

切换编译环境(python)

安装python插件

切换环境

注释快捷键

单行注释

使用Ctrl + /
或者
先按CTRL+K,再按CTRL+U

块注释

使用Alt+Shift+A

常用扩展

Visual Studio intelliCode 智能提示

Chinese 中文字体

Bracket Pair Colorizer 彩色括号

Code Running 支持多种语言运行

Live Server Web开发神器

离线安装拓展

拓展市场

跳转到 cd ..\Microsoft VS Code\bin 下

code --install-extension xxx.vsix

成功后会提示

Extension ‘xxx.vsix’ was successfully installed!

posted @ 2021-10-23 20:42  πππ  阅读(4)  评论(0)    收藏  举报