【问题标题】:VSCode. Run integrated terminal with command like autorunVS 代码。使用 autorun 等命令运行集成终端
【发布时间】:2017-07-25 10:38:28
【问题描述】:

我使用带有“终端加”包的原子编辑器,以及用于终端 (PowerShell) 的自动运行命令:

cd .venv\Scripts\; .\activate; cd ../../src

此命令激活虚拟环境并返回src文件夹。

我在 VSCode 中没有找到自动运行的选项,我该怎么做?

【问题讨论】:

    标签: terminal visual-studio-code virtualenv


    【解决方案1】:

    我不熟悉 virtualenv,但以下命令对我有用。

    cd src; code index.js; cd public; cd ../..;

    你不需要任何扩展来执行这个自动运行命令。VSCode终端已经内置了这个功能。

    You can check here for all the features of Integrated Terminal in VSCode

    【讨论】:

    • 关于如何运行的问题。你在哪里添加这个命令?你能从设置文件中添加正确的行吗?
    • 您可以将其粘贴到该终端中,它会正常工作
    • 听起来不像“自动”
    猜你喜欢
    • 1970-01-01
    • 2022-11-17
    • 2019-07-29
    • 2019-03-18
    • 2021-06-29
    • 2016-10-22
    • 1970-01-01
    • 2022-01-12
    • 1970-01-01
    相关资源
    最近更新 更多