V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
villivateur
1.57D
V2EX  ›  Cursor

Cursor 无法再安装微软的 C/C++ 插件了,有什么替代方案?

  •  
  •   villivateur · Jun 30, 2025 · 3989 views
    This topic created in 305 days ago, the information mentioned may be changed or developed.

    前两天发现安装 C/C++ 插件失败,提示版本不兼容。似乎微软不让 Cursor 用了。我试了 Anysphere 的 C/C++,但是效果差一大截。

    C/C++ 插件重度使用者,有什么好方案吗?

    Supplement 1  ·  Aug 25, 2025
    补充,我发现最后一个支持 Cursor 的微软 C/C++ 插件版本是 1.23.6
    7 replies    2025-07-12 10:31:45 +08:00
    weiweiwitch
        1
    weiweiwitch  
       Jun 30, 2025 via Android
    再另一个 ide 看代码?我 kotlin 加 gradle 的工程也是死活加载不了。现在就只用 cursor 的 agent 帮我改代码,然后在 idea 里面看代码。
    lod
        2
    lod  
       Jun 30, 2025
    clangd+CodeLLDB
    thfurior
        3
    thfurior  
       Jun 30, 2025
    我在 vs code 上用插件看代码调试,cursor 上只要求能编译过就行,互相切
    xfn
        4
    xfn  
       Jun 30, 2025
    clangd 。就算在 vscode 里我也不用微软的 c++插件,大型项目奇慢
    lisongeee
        5
    lisongeee  
       Jun 30, 2025
    似乎微软不让 Cursor 用了 ❎

    Cursor 白嫖并违反微软的许可证 ✔️
    zhoukevin233
        6
    zhoukevin233  
       Jul 5, 2025
    用 clangd+MSVC+ninja
    RuifuSu
        7
    RuifuSu  
       Jul 12, 2025   ❤️ 1
    正好研究过这个问题,按下面这个步骤操作即可

    1. 如果 Cursor 已经安装新版本 C++插件,打开 Cursor 卸载 C++插件。
    2. 打开 C++插件 1.23.5 Release 页面。https://github.com/microsoft/vscode-cpptools/releases/tag/v1.23.5
    3. 下载对应版本。[Windows 64 下载]( https://github.com/microsoft/vscode-cpptools/releases/download/v1.23.5/cpptools-windows-x64.vsix )
    4. Open Cursor and press Ctrl + Shift + P to open the command palette.
    5. Search for "Install from VSIX" and select it.
    6. Browse to the downloaded VSIX file and install it.
    7. Wait for the installation to complete (may take about a minute).
    8. Enjoy!!

    参考链接: https://github.com/cursor/cursor/issues/2976#issuecomment-2788954138
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2507 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 07:00 · PVG 15:00 · LAX 00:00 · JFK 03:00
    ♥ Do have faith in what you're doing.