Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
sexy_peach ( sexy_peach@feddit.de )  to ProgrammingEnglish · 3 years ago

What's your favorite IDE for rust?

message-square
message-square
33
link
fedilink
44
message-square

What's your favorite IDE for rust?

sexy_peach ( sexy_peach@feddit.de )  to ProgrammingEnglish · 3 years ago
message-square
33
link
fedilink
alert-triangle
You must log in or # to comment.
  • luna ( luna@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    3 years ago

    deleted by creator

    • LinuxEnjoyer ( linuxenjoyer@lemmy.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      +1 for Neovim I love that thing.

      If anyone’s curious/interested in it… while the stock editor is pretty “basic” (it can still do a ton of stuff!), the plugin ecosystem (or whatever it’s called) is really nice. You can use “pre-built” ones like LunarVim, LazyVim, or NvChad (I’ve used this one, it aims to be highly customisable and it’s pretty nice). There are probably many others.

      You might want to get used to the key binds and such before doing any of that though ahahah. Once you open it, if you type :Tutor and press enter it should bring you to a little tutor program for explaining the basics.

      I do however highly encourage you to try making your own config! You could write it in vimscript, but Neovim has full support for Lua. You can even have multiple different init files for it. (You can select them with the -u flag when running nvim. Like: nvim -u path/to/my/config_file.lua ). I liked ThePrimeagen’s video about making a config from scratch (personally I really like his energy and personality, but he does sometimes yell and stuff (i don’t think there’s much of this in this video) so it might not appeal to everyone). I haven’t really looked at any other resources (besides the built-in :help lua-guide and random searches), but I’m sure there’s a ton out there.

      It’s really fun :DD

      • luna ( luna@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        3 years ago

        deleted by creator

      • janAkali ( janAkali@lemmy.one ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 years ago

        It’s nice to have everything ready for you in Lunar, Lazy, Chad Vim, but it is honestly too much for any newbie to take at once. For anyone starting with vim/neovim best advice is to start with vanilla experience: no configs, no plugins and just learn basics. Then search for fixes to major annoyances, and when you’re comfortable with keybindings look for plugins to extend features. You’ll quickly realize how small is number of customizations required to be fast and productive in [Neo]Vim.

    • TheBaldness ( TheBaldness@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 years ago

      deleted by creator

      • luna ( luna@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 years ago

        deleted by creator

        • TheBaldness ( TheBaldness@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          3 years ago

          deleted by creator

  • worfamerryman ( worfamerryman@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    14
    ·
    3 years ago

    I am not a hardcore programmer, but anytime I code anything, I use vscodium. It is VScode without the microsoft telemetry.

    • Magusbear ( Magusbear@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      That sounds great! Does it support the plugins as well?

      • brie ( brie@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 years ago

        It has the same plugin system, but they pull from Open VSX rather than Microsoft’s extension marketplace. If there’s an extension not available there, you can still download it from Microsoft’s marketplace and then add it manually.

        • zaop ( zaop@sopuli.xyz ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 years ago

          It’s also possible to swap out the extension registry entirely and still use Microsoft’s marketplace instead of Open VSX in VSCodium.

          • onewhobrowses ( onewhobrowses@lemmy.world ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 years ago

            I figured this was possible, but I guess I never searched for the solution. Thank you!

  • Danacus ( daan@lemmy.vanoverloop.xyz ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 years ago

    I love using helix. Not really an IDE, but since it has built-in support for language servers like rust-analyzer, it can do everything I need.

    • Urbeker ( Urbeker@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 years ago

      I’m just waiting for the inbuilt file explorer to stabilise. The only thing I miss is easy file navigation. The fuzzy searcher just isn’t what I want most of the time.

      • Danacus ( daan@lemmy.vanoverloop.xyz ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 years ago

        I see. I used to use things like nerdtree in vim, but when switching to helix I just accepted the fuzzy file search, and now I don’t see why I would ever need anything else to open files.

  • rei ( rei@feddit.de ) 
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 years ago

    VsCode because I’m basic like that :^)

  • ZuCo ( ZuCO@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 years ago

    No one has said Emacs yet, I was a long time vim/neovim user but switched a couple of years ago, still learning rust but it’s been pretty comfy so far, plus I can wash my dishes in it.

    • CrimsonOnoscopy ( CrimsonOnoscopy@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 years ago

      Emacs is the best vim implementation.

      • Hexorg ( Hexorg@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 years ago

        Emacs is a great operating system but lacks a good text editor

        • CrimsonOnoscopy ( CrimsonOnoscopy@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 years ago

          IDK what you’re talking about, Vim runs great on there.

    • TheAgeOfSuperboredom ( TheAgeOfSuperboredom@lemmy.ca ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      I use Emacs for just about everythinhg, including Rust dev. It’s fantastic!

  • sokkies ( sokkies@lemmyrs.org ) 
    link
    fedilink
    English
    arrow-up
    9
    ·
    3 years ago

    Neovim all the way!

    Rustanalyzer is seamless with it and I never have issues with multiple instances running

    • raubarno ( raubarno@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      I also use Neovim with coc-rust-analyzer as my daily setup, although, for large projects, it eats up to 4GB of RAM :/

      • luna ( luna@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 years ago

        deleted by creator

        • artaban ( artaban@lemmy.ml ) 
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 years ago

          Totally agree with this, neovim with LSP is PERFECT! I had a lot of problem’s with coc and it was terrible, one day it worked one day it had another problems… Recently i decided to try Neovim with lua so i followed this tutorial video. You should take a look, believe me.

          • luna ( luna@beehaw.org ) 
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            3 years ago

            deleted by creator

      • sokkies ( sokkies@lemmyrs.org ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 years ago

        Wow crazy. I honestly couldn’t say what lsp settings I use. My personal config broke a while back and I use Astronvim now until I get to fixing it… Although so far its been good enough that I just dont bother moving back…

        • raubarno ( raubarno@lemmy.ml ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 years ago

          Yea, for me it’s also working pretty fast (unused ram is wasted ram anyway), just that I must always keep an eye on my RAM usage of my 10-year-old PC with 8GB of RAM and HDD only…

  • mtizim ( mtizim@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 years ago

    vscode. I think anything that supports LSP works well with rust, but my vscode setup is comfy enough and devcontainers are rather nice.

  • your_name_please ( your_name_please@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

    I used VSCode for a few months and tried the CLion free trial after missing some of the features from IntelliJ I use at work. I think CLion edges out just a little, but not by much. Both have some rough patches.

    Next time I pick up a Rust project I want to try neovim; I keep ending in tutorial hell for vim and never actually building anything with it. But before that, I think I want to ditch my Windows OS all together and pick some Linux distro, something I’ve been putting off a very long time.

    • TheBaldness ( TheBaldness@beehaw.org ) 
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      3 years ago

      deleted by creator

      • zaop ( zaop@sopuli.xyz ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        This was also the distribution I chose when first moving away from Windows and I can definitely recommend it. The vast majority of things worked out of the box, and people on the Linux Mint forum were very helpful in solving my remaining issues.

  • Sorcerer ( sorcerer@feddit.de ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 years ago

    Helix, great out of the box experience and is written in Rust itself.

  • mrmanager ( mrmanager@lemmy.today ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 years ago

    Neovim. Its awesome with the rust plugin. Everything works and it’s fast.

    • nivenkos ( nivenkos@lemmy.world ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      Could you share your config?

      I switched to the built-in LSP but keep hitting small issues with changes to mappings, etc. and keeping rust-analyzer updated is a pain.

      So now I just use vscode, even though I’d really like to have neovim set up for small things.

  • 4bh1j47 ( 4bh1j47@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 years ago

    I used to use CLion for rust but lately I’ve switched to VScode with rust-analyzer and it is pretty good, so I’ve more or less switched to it.

    Also helix mentioned here looks interesting, I might try it out.

  • sukuna ( ryomensukuna@lemmy.one ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 years ago

    Helix text editor

  • eternaldeiwos ( eternaldeiwos@lm.qtt.no ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 years ago

    Once I started using CLion I couldn’t go back

  • Parsnip8904 ( Parsnip8904@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 years ago

    I’m not a rust dev but ran into Lapce recently which seemed to be vscode like IDE for rust made in Rust.

  • recursed ( recursed@lemmy.recursed.net ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 years ago

    Neovim with coc-rust-analyzer.

    There’s also coc-rls.

Programming

programming

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@beehaw.org

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 62 users / week
  • 351 users / month
  • 430 users / 6 months
  • 2.63K local subscribers
  • 15.6K subscribers
  • 388 Posts
  • 3.97K Comments
  • Modlog
  • mods:
  • Chris Remington ( remington@beehaw.org ) 
  • alyaza [they/she] ( alyaza@beehaw.org ) 
  • Hexorg ( Hexorg@beehaw.org ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code