V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yatoroame
V2EX  ›  程序员

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

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

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

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

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