• priapus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    12
    ·
    20 hours ago

    Plus you can always just use clangd. Its what I’ve always used with every text editor that has LSP support.

    • XPost3000@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      12 hours ago

      Honestly moving to clangd has got to be the single best thing I’ve done in C++, it’s cross platform and I’ve found it to be significantly faster, more reliable, and more featureful than Microsoft’s C++ plugin by a long shot

      • priapus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        I havent used vscode in while but I do remember having a lot of issues with the Microsoft C++ plugin, especially in large projects. I switched to clangd very quickly.

    • شاهد على إبادة@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      12 hours ago

      Clang is a better C++ compiler than msvc, it generates faster binaries and can compile complex code that msvc errs on at least in my experience YMMV.

    • vivendi@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      11 hours ago

      I wish there was a GCC equivalent; but even if clang is a corpowhore project it’s atleast OSS