• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yatoroame
V2EX  ›  程序员

发现 cursor 里面不能用微软原版的 c/c++插件了

  •  
  •   yatoroame · May 30, 2025 · 6072 views
    This topic created in 526 days ago, the information mentioned may be changed or developed.

    现在似乎只能使用 Anysphere 这个 C/C++插件了,并且它同时给我装了 CodeLLDB 和 clangd 这 2 个插件 现在发现很多代码都跳转不了了,但是之前微软的插件是可以的 我的代码编译脚本非常复杂,clangd 如何进行配置以支持跳转呢,大佬们能不能分享一下方案

    yatoroame
    yatoroame
    OP
    May 30, 2025
    1
    打开 cursor 的 output ,切换到 C/C++,打印了以下内容
    Warning: Expected file /home/xxx/.cursor-server/extensions/anysphere.cpptools-2.0.0-linux-x64/bin/cpptools is missing.

    Warning: Expected file /home/xxx/.cursor-server/extensions/anysphere.cpptools-2.0.0-linux-x64/bin/cpptools-srv is missing.

    Warning: Expected file /home/xxx/.cursor-server/extensions/anysphere.cpptools-2.0.0-linux-x64/bin/cpptools-wordexp is missing.

    Warning: Expected file /home/xxx/.cursor-server/extensions/anysphere.cpptools-2.0.0-linux-x64/bin/libc.so is missing.
    intelliSenseEngine is disabled
    zhangleijuly
    zhangleijuly
    May 30, 2025
    2
    hwdq0012
    hwdq0012
    May 30, 2025
    3
    试试 clangd
    kirara2024
    kirara2024
    May 30, 2025
    4
    微软系的都禁了 手动安装 或者用你之前的配置文件含插件自动导入并没有限制
    dacapoday
    dacapoday
    May 30, 2025❤️3
    5
    估计微软心态崩了,整个 VSCode 基础设施都是它出了大力,但真正端到客户面前的时候,品牌记忆却被夺舍成了 Cursor 。
    ChaimeLonic
    ChaimeLonic
    May 30, 2025❤️1
    6
    开始微软给的 EULA 就是禁止第三方编译产物使用 vs 的市场的,现在才真正采取措施已经算是很慢了。不过夺舍行为确实让开发 vs 本体的变成基础设施白打工的了
    saturnast
    saturnast
    May 30, 2025
    7
    不只是 C++插件,SSH 插件,C#,Python 插件其实都用不了最新版的
    thfurior
    thfurior
    May 30, 2025
    8
    双开吧,cursor 写,vscode 或者其他 IDE 编译
    mooyo
    mooyo
    May 30, 2025
    9
    开源版就是不能用 ms 插件的,插件又不是本体
    Kokororin
    Kokororin
    May 30, 2025
    10
    Cursor 是通过反代实现直接用微软插件仓库的,讲道理,它应该使用的是 openvsix
    zzz22333
    zzz22333
    May 30, 2025
    11
    我这还在用啊
    iyaozhen
    iyaozhen
    May 30, 2025
    12
    这事确实谴责不了 VSCode ,要是我我也不想给别人做嫁衣呀
    Gress
    Gress
    May 30, 2025
    13
    微软自己都说眼红 cursor 了,不过倒也正常,谁都不愿意给别人白打工
    yatoroame
    yatoroame
    OP
    May 30, 2025
    14
    @zzz22333 我是今天装了一台新电脑,全新安装的,你那个没升级估计能一直用下去
    iorilu
    iorilu
    May 30, 2025
    15
    还是微软太好心

    其实只要限制不允许使用 vscode 开发商业软件就行了, 其实也很合理
    musi
    musi
    May 31, 2025 via iPhone
    16
    @iorilu 是这样的,其实只要 vscode 换个开源协议现在这些基于 vscode 开发的就会很被动
    m1nm13
    m1nm13
    May 31, 2025
    17
    有一说一,c/c++这个插件 开 内核这类型超大代码仓库,在 linux server 运行久了就会爆内存 OOM. 搞得我写了个脚本来干掉内存占用过高的进程
    hdxx
    hdxx
    Jun 1, 2025
    18
    这些拿了大投资的 AI 编程工具,也应该回馈一下 vscode 生态了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   795 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 18:52 · PVG 02:52 · LAX 10:52 · JFK 13:52
    ♥ Do have faith in what you're doing.