proxytoworld
V2EX  ›  问与答

vscode 的 rust-analyzer 插件终究还是比不过 jb 家的 rust 插件

  •  
  •   proxytoworld · Aug 19, 2022 · 2263 views
    This topic created in 1361 days ago, the information mentioned may be changed or developed.

    同一段代码,rust-analyzer 报一堆错,但安装了 rust 插件的 clion 却不会,商业的还是比社区版的厉害啊

    7 replies    2022-08-19 21:56:00 +08:00
    Dockerfile
        1
    Dockerfile  
       Aug 19, 2022
    我在用的过程感觉还是 rust-analyzer 更好一点,也许是 clion 没有报出来 warning 呢
    proxytoworld
        2
    proxytoworld  
    OP
       Aug 19, 2022
    @Jwyt 感觉都好占内存,相比 go 来说,开个复杂点的项目就内存 1-2g 了
    haolongsun
        3
    haolongsun  
       Aug 19, 2022
    clion 的 rust 插件我感觉项目大了就很卡,打一个字响应一两秒才出来,但 vscode 完全没有这样,非常流畅。
    我还是喜欢直接写,写完一个模块,然后 check clippy 检查一下,根据错误提示来更改代码。
    更进一步,有的问题为直接让编译器来给我解决。
    LouGaZen
        4
    LouGaZen  
       Aug 19, 2022
    我体验恰好相反,目前项目中用到 snafu 去自定义错误类型,clion 的 rust 插件无法很好去识别进而标红报错,但 rust-analyzer 就没有这个问题
    wineway
        5
    wineway  
       Aug 19, 2022 via iPhone
    咋感觉你这是配置有问题呢……
    hsfzxjy
        6
    hsfzxjy  
       Aug 19, 2022 via Android
    感觉是没配置对,RA 个人感觉很好用
    Leviathann
        7
    Leviathann  
       Aug 19, 2022
    fleet 的 rust 支持也是用的 rust analyzer
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   995 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 95ms · UTC 19:47 · PVG 03:47 · LAX 12:47 · JFK 15:47
    ♥ Do have faith in what you're doing.