Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I just came across an article that says language servers are a must for coding in Rust.

I just came across an article that says language servers are a must for coding in Rust.

Scheduled Pinned Locked Moved Uncategorized
9 Posts 6 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ryanc@infosec.exchangeR This user is from outside of this forum
    ryanc@infosec.exchangeR This user is from outside of this forum
    ryanc@infosec.exchange
    wrote last edited by
    #1

    I just came across an article that says language servers are a must for coding in Rust. I do not use one, I just use vim. What am I missing?

    chrissie_c@musicians.todayC bjorndown@mastodon.socialB stonebear2@hachyderm.ioS spjames@infosec.exchangeS ams@infosec.exchangeA 5 Replies Last reply
    0
    • ryanc@infosec.exchangeR ryanc@infosec.exchange

      I just came across an article that says language servers are a must for coding in Rust. I do not use one, I just use vim. What am I missing?

      chrissie_c@musicians.todayC This user is from outside of this forum
      chrissie_c@musicians.todayC This user is from outside of this forum
      chrissie_c@musicians.today
      wrote last edited by
      #2

      @ryanc I've never used it either. To me it's just a thing that regularly fails to start

      1 Reply Last reply
      0
      • ryanc@infosec.exchangeR ryanc@infosec.exchange

        I just came across an article that says language servers are a must for coding in Rust. I do not use one, I just use vim. What am I missing?

        bjorndown@mastodon.socialB This user is from outside of this forum
        bjorndown@mastodon.socialB This user is from outside of this forum
        bjorndown@mastodon.social
        wrote last edited by
        #3

        @ryanc Does that mean no autocomplete at all? how do you jump to symbols etc?

        ryanc@infosec.exchangeR 1 Reply Last reply
        0
        • ryanc@infosec.exchangeR ryanc@infosec.exchange

          I just came across an article that says language servers are a must for coding in Rust. I do not use one, I just use vim. What am I missing?

          stonebear2@hachyderm.ioS This user is from outside of this forum
          stonebear2@hachyderm.ioS This user is from outside of this forum
          stonebear2@hachyderm.io
          wrote last edited by
          #4

          @ryanc probably a lot of bullshit. I used Emacs as a perfectly cromulent IDE freakin' 35 years ago, and I'm finding a whole bunch of stuff for using it with Rust 30 seconds ago.

          If you can't do it without relying on somebody else's stuff, the code is not your own, and subject to corpo whims. This... blows whale chunks.

          1 Reply Last reply
          0
          • ryanc@infosec.exchangeR ryanc@infosec.exchange

            I just came across an article that says language servers are a must for coding in Rust. I do not use one, I just use vim. What am I missing?

            spjames@infosec.exchangeS This user is from outside of this forum
            spjames@infosec.exchangeS This user is from outside of this forum
            spjames@infosec.exchange
            wrote last edited by
            #5

            @ryanc A language server first needs to know how your code is compiled. Then it builds an index and thus fully understands its structure and syntax. It has a standard interface so any compatible editor can do smarter navigation, highlighting, completion etc. I use nvim and Codium with servers for C/C++, sh/bash, json, Markdown etc. Good things. You can do all this with other tools but language servers modernize the set-up.

            BTW there is no AI bollocks involved! #NoAI

            ryanc@infosec.exchangeR 1 Reply Last reply
            0
            • ryanc@infosec.exchangeR ryanc@infosec.exchange

              I just came across an article that says language servers are a must for coding in Rust. I do not use one, I just use vim. What am I missing?

              ams@infosec.exchangeA This user is from outside of this forum
              ams@infosec.exchangeA This user is from outside of this forum
              ams@infosec.exchange
              wrote last edited by
              #6

              @ryanc rusty-tags is helpful and doesn't have all the language server config headaches.

              1 Reply Last reply
              0
              • bjorndown@mastodon.socialB bjorndown@mastodon.social

                @ryanc Does that mean no autocomplete at all? how do you jump to symbols etc?

                ryanc@infosec.exchangeR This user is from outside of this forum
                ryanc@infosec.exchangeR This user is from outside of this forum
                ryanc@infosec.exchange
                wrote last edited by
                #7

                @bjorndown No auto complete, I can jump to things with /

                1 Reply Last reply
                0
                • spjames@infosec.exchangeS spjames@infosec.exchange

                  @ryanc A language server first needs to know how your code is compiled. Then it builds an index and thus fully understands its structure and syntax. It has a standard interface so any compatible editor can do smarter navigation, highlighting, completion etc. I use nvim and Codium with servers for C/C++, sh/bash, json, Markdown etc. Good things. You can do all this with other tools but language servers modernize the set-up.

                  BTW there is no AI bollocks involved! #NoAI

                  ryanc@infosec.exchangeR This user is from outside of this forum
                  ryanc@infosec.exchangeR This user is from outside of this forum
                  ryanc@infosec.exchange
                  wrote last edited by
                  #8

                  @spjames Why would I need completion?

                  spjames@infosec.exchangeS 1 Reply Last reply
                  0
                  • ryanc@infosec.exchangeR ryanc@infosec.exchange

                    @spjames Why would I need completion?

                    spjames@infosec.exchangeS This user is from outside of this forum
                    spjames@infosec.exchangeS This user is from outside of this forum
                    spjames@infosec.exchange
                    wrote last edited by
                    #9

                    @ryanc I can't remember all the APIs and their arguments. Some suggestions for what follows the bit I can remember is useful. A reminder of the argument types and order is also very handy. std::memcpy(): it's TO, FROM, SIZE isn't it? Oh yes is: says so here in my editor. This information comes from the code base in use so it's definite.

                    A lot of code I work on is encumbered with lots of pre-processor conditional sections. It's very helpful to see which parts are actually live given the current configuration. Available APIs and types are indexed accordingly too so I find out early if I'm using something inappropriately. Also the value of a complicated macro can be meaningfully explained.

                    1 Reply Last reply
                    1
                    0
                    • R relay@relay.infosec.exchange shared this topic
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups