gpt4 book ai didi

visual-studio-code - 在 VSCode 上使用 MSYS2 MinGW 64 位终端

转载 作者:行者123 更新时间:2023-12-04 01:49:27 24 4
gpt4 key购买 nike

有很多关于如何在 VSCode 上使用 MSYS2 终端的教程。但是我们知道有 3 个 shell:

  • MSYS2 MinGW 32 位
  • MSYS2 MinGW 64 位
  • MSYS2 MSYS

  • 但是如果我设置 "terminal.integrated.shell.windows""C:\\msys64\\usr\\bin\\bash.exe" ,我只能用MSYS2 MSYS。我想使用 MSYS2 MinGW 64 位,因为我不希望我的程序需要 msys-2.0.dll
    有人可以教我怎么做吗?

    最佳答案

    这对我有用:

    {
    "terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe",
    "terminal.integrated.shellArgs.windows": ["--login", "-i"],
    "terminal.integrated.env.windows": {
    "MSYSTEM": "MINGW64",
    "CHERE_INVOKING":"1" }
    }

    请。引用: How do I integrate MSYS2 shell into Visual studio code on Window?

    关于visual-studio-code - 在 VSCode 上使用 MSYS2 MinGW 64 位终端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53943308/

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