• normalexit@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Recently switched to a new contract, which resulted in me switching from IDEA Ultimate to vscode. This picture is terribly accurate.

    In intellij I usually do code reviews by checking out the code and comparing the branch to origin/main to step through the changes. Just a right click menu option to compare branches.

    I took for granted that this is just a thing IDEs should do, so I looked in vain for a while before googling it and finding out I need a plugin for that. (If I’m wrong please help me find the button, I still believe it must be in there somewhere. Surely the owners of GitHub can compare branches?)

    • glorptex@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I use that extension called GitLenses, it provides a fair bit of git tools. Not sure if it has what you want as I use JetBrains more and usually do git on CLI anyways

    • owsei@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I don’t use VSCode, so I may be wrong, but I think it has version control integration out of the box (maybe just for git), an with it you can review merges and stuff

      I’ll try this today and comeback here

    • kungen@feddit.nu
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Security-wise, yeah? IIRC Microsoft is very nonchalant with checking that there’s nothing malicious in the plugins on their marketplace.

    • Caveman@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Having a bunch of plugins built-in means also supported in updates and play nice with each other

    • FlexibleToast@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      I would argue it’s worse. You can’t choose the things that are actually beneficial to you and how you work.

            • Lemminary@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              2 months ago

              It’s only a prompt: “Would you like to install the recommended addons?” You hit ‘yes’ and move on, never thinking about it again until you switch projects for the first time. I don’t get what this fuss is about.

              Note that the community is very active for each project. All popular projects like Tailwind and Astro come with their recommended add-on and command-line tools early after their release. But my favorite is when a new project pops up that replaces the original tool and becomes the standard because it got it right, and it didn’t have to ask anyone for permission to do it.

      • capybara@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        Depends on the resources required and how much benefit it brings to the average user.

  • F04118F@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Plugins on a universal open source IDE are a better system than specialised proprietary IDEs (that also share “core” code but it’s not open source).

    Fight me.

    Fair warning though: I know these

    /weakSpot
    :g/your confidence/d
    :x
    

      • F04118F@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        2 months ago

        Pyright is the open source language server behind pylance and it works just fine in my neovim setup (in case you hadn’t recognized the commands and the logo). There’s also basedpyright if you have beef with pyright.

        Protip: let someone else manage your neovim setup: just use lazyvim.org

        • lemonskate@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          basedpyright includes some nice features that Microsoft has otherwise gated behind the closed source Pylance. There’s also (in development) ty from Astral that I’m pretty excited for (ruff and uv have made writing python so much better for me).

    • Gonzako@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      what did the /d do? I know you’re searching for weak spot but I haven’t seen :g/xyc/d

  • AmazingAwesomator@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    i feel like the odd one out whenever i tell people i dont want the shitty ide launcher for jetbrains products on my computer. i havent used their products because of that launcher.

  • zoey@lemmy.librebun.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Switched to Zed recently, after finding out it’s basically flawless on Linux now (it was pretty bad initially) and after about 20 minutes uninstalled vscodium for good.
    It’s a very solid editor and one less electron thing on my system.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      I’ve known Zed for almost a year now, but it still lacks a lot of what VS Code offers. Especially when it comes to customization.

    • nomade420@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I’ve been experimenting with it on Linux for the last week. Seems interesting, I get mixed feelings from it’s minimalist approach, but I tend to use it. I’ll keep it around, looks like it’ll stick w me

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I like Zed as a concept. Rapid af, vim bindings built in, lean stuff.

      But I just can’t go back to vim after enjoying helix bindings. They’re too good.

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Oh, cool. I didn’t know about this one.

      Trying Zed now on the eternal quest of eventually replacing emacs…

  • pixxelkick@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    quietly scoots his entire github repo for his neovim configuration and 200+ plugins behind his back

    Haha yeah totally

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      What on earth do you need/use 200+ plugins for? Can you name a tenth of the uses off-hand? 😅

      • pixxelkick@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        A lot of them are dependencies of other plugins.

        Stuff like icons support, and every little feature. Neovim is extremely minimalist to start, so you need plugins just to get something as simple as a scrollbar lol

        Things like git status of files and file lines, all your LSPs, syntax highlighting (for each language you work with), file explorer, you name it, there’s a lot.

        But what’s nice about nvim is for any of these given features, there’s numerous options to pick from. Theres probably a dozen options to choose from for what kind of scrollbar you want in your editor, as an example.

        So you end up with a huge amount of plugins in the end, for all your custom stuff you have configured.

        You have to setup yourself (though theres a lot of very solid copy pasteable recipes for each feature):

        • Scrollbar
        • Tabs(if you want em)
        • bookmarking
        • every LSP
        • treesitter
        • navigation (possibly multiple of them, I use both a file tree, telescope, and harpoon)
        • file history stuff
        • git integrations, including integrating it with the numerous other plugins you use (many of them can integrate with git for stuff like status icons)
        • Code commenting/uncommenting
        • Code comment tags (IE TODO/BUG/HACK/etc)
        • your package manager is also a package (I like lazy for wicked fast open speeds, neovim opens in under 1s for me)
        • hotkey management (I like to use which-key)
        • prose plugins (lots of great options here too, I use nvim for more than just coding!)
        • neorg, so I can use nvim for taking notes, scheduling stuff, etc too
        • debugger via nvim-dap
        • debugger UI via nvim-dap-ui
        • lualine, which is a popular statusline plugin people like to have at the bottom of their IDE for general file info
        • new-file-template which lets me create templates for new files by extension (IE when I make a .cs file and start editting it, I can pick from numerous templates I’ve made to start from, same for .ts, .lua, etc etc)
        • git conflict, which can detect and work with detected git merge conflict sections in any type of file and give me hotkeys to do stuff like pick A / B / Both / Neither, that sorta stuff

        The list goes on and on haha

          • idriss@lemm.ee
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            development stopped for a year (I see activity resumed yesterday) and I jumped ship to LazyVim, it feels much better and possible to self maintain the entire setup.

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Makes more sense now I guess. 😅

          Tabs though? Neovim already has tabs support out of the box, right?

          • pixxelkick@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            Sorts? Not tabs in the way you’d expect but it’s default ones can be sufficient

            Honestly though once you get pretty good with hotkeys you stop using tabs, for all intents and purposes harpoon is tabs, but better, and without the UI. You just mentally usually pick harpoon keys that make sense to save jump points to, like I’ll harpoon FooController.cs to c and FooService.cs to s and FooEntity.cs to e and so one

            And the I jump around with those keys. Usually when working I only need tops 5 harpoon or so for a chunk of work.

        • theblips@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          I’m not judging (that much) but you can do pretty well with just telescope, undo-tree and the LSP stuff, no? Debuggers can make it very bloated, at that point I’d just fire up a real IDE just for debugging and get back to Vim to program

          • pixxelkick@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            I still boot in sub 1s so I don’t know what you mean by “bloated”

            Lazy allows you to boot ultra fast by loading stuff in the background later, so “bloat” doesn’t matter

            nvim-dap does literally nothing until you trigger it, so it’s only impact on my startup is like 3 hotkey registrations :p

            It’s a perfectly fine debugger, works great. The fact I can telescope search to fzf my stack trace actually kind of makes it superior? Like you can’t do that sorta stuff in any other IDE I know of

            Also all my navigation stuff like telescope/harpoon/etc still apply when debugging, so I can literally debug faster jumping around the stack trace with hotkeys.

            Neovim doesn’t get any less awesome when it comes to debugging, a lot of it’s power still applies just as much haha

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            To each their own I guess. 😊 I imagine some people consider the bloat to be that extra IDE you have to have laying around just in case you want to debug something.

      • setVeryLoud(true);@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        I personally found VSCode slower.

        You need a decent machine to run iJ, but it’s worth it and it’s really fast when you have enough RAM to give it. I recommend at least 32, but I have 64.

      • Mubelotix@jlai.lu
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        You cannot even compare the 2. Intellij is so bad it crashes my machine. Vscode is fast

        • bpev@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 months ago

          For me, they both fall into the “I can’t stand this because it is too slow” category. So same difference. I have used vscode from time to time because I wanted to use certain plugins, but dropped it after a month or two every time STRICTLY because of performance (even without plugins). Like literally, the only reason I dropped it.

          It’s text editing, not gaming. If it isn’t instant, it’s slow. Even for gui text editors, Sublime Text has had that dialed for like 15 years. VSCode intentionally traded performance for ecosystem (and to great success)! But imo, newer editors like Zed have better bones, and are going to slowly but surely eat their lunch.

          • piccolo@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            Im not sure what you are doing but vscode is extremely fast unless you throw a several megabytes data file at it which then it bogs down. But even then, its only at loading the file since it loads the whole thing into memory instead of a buffer.

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        No, no it is not, especially when compared to IJ.

        It launches and reloads my projects to a usable state in probably 2-3 seconds on my machine and it basically never randomly freezes like IJ did for me. People who say vscode is slow just have a hate boner for electron.

        • bpev@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 months ago

          No, I say that it’s slow because switching between files and watching the syntax highlighting come in takes long enough that it knocks me out of flow state.

          EDIT: Tbf, me saying it’s AS slow as IntelliJ was more of a joke. But don’t get me wrong. I still do consider VSCode to be slow. 2-3 seconds to open a project is slow, regardless of project size.

          • TrickDacy@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            Are you a robot? That process is not visible on my machine. Probably a 100ms thing. Humans perceive a speed like that as “instant”.

            • bpev@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              2 months ago

              Nah it’s like when you write your scripts in JS, and you’re like “ooo it’s instant!” And then you rewrite it in a compiled language… and you realize that your original script was, in fact, not instant. And then if I have to keep running the original script, it’s gonna bug me every time I notice.

  • brianary@startrek.website
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    If you want everything bundled instead of à la carte, that sounds more like eclipse to me. But then, I don’t understand how anyone can program in Java.