V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
villivateur
V2EX  ›  Cursor

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

  •  
  •   villivateur ·
    PRO
    · 55 天前 · 2057 次点击
    这是一个创建于 55 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    7 条回复    2025-07-12 10:31:45 +08:00
    weiweiwitch
        1
    weiweiwitch  
       55 天前 via Android
    再另一个 ide 看代码?我 kotlin 加 gradle 的工程也是死活加载不了。现在就只用 cursor 的 agent 帮我改代码,然后在 idea 里面看代码。
    nziu
        2
    nziu  
       55 天前
    clangd+CodeLLDB
    thfurior
        3
    thfurior  
       55 天前
    我在 vs code 上用插件看代码调试,cursor 上只要求能编译过就行,互相切
    xfn
        4
    xfn  
       55 天前
    clangd 。就算在 vscode 里我也不用微软的 c++插件,大型项目奇慢
    lisongeee
        5
    lisongeee  
       55 天前
    似乎微软不让 Cursor 用了 ❎

    Cursor 白嫖并违反微软的许可证 ✔️
    zhoukevin233
        6
    zhoukevin233  
       50 天前
    用 clangd+MSVC+ninja
    RuifuSu
        7
    RuifuSu  
       43 天前   ❤️ 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
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   982 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 18:22 · PVG 02:22 · LAX 11:22 · JFK 14:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.