• Sanctus@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I’ll be watching this one. It looks nice. Please come to Linux. I do loves me my vim. I did not like setting it up as much as I thought I would to be an IDE. I’m sorry I was mean Zed.

    • Azzk1kr@feddit.nl
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      I’ve been trying out Helix as of late. It’s a bit different than vim, but I’m beginning to like it.

        • priapus@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          4 months ago

          what do you mean? Helix uses LSP servers, usually the same ones used by Vim and VS Code.

          were you using it without the LSP’s installed? If you were, then you would only get completion based of the treesitter grammars, which would be very limited.

          • セリャスト@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            no, the autocomplete trigger is rly bad and triggers when moving the cursor around instead of when you actually type It’s a documented problem and they are working on fixing it

            • priapus@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 months ago

              Ah I see. I usually only move the cursor when in command mode, so that might be why I haven’t noticed it. That’s unfortunately an issue I’ve noticed in a lot of editors. In fact, because Zed is so fast, the auto completion is super obnoxious atm and constantly flashes at you while you type.

  • uid0gid0@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    runs only on MacOS

    And

    get it into the hands of millions of developers

    Seems contradictory

  • nyakojiru@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    It’s strange because how much “powerful” or “high performance” a code editor needs? It’s just , a code esitor you can code in notepad lol

    • Pyro@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      You can code in Notepad in the same way you can eat off the floor with your hands. Using better tools is a nicer experience.

      As for performance, when one of the world’s most popular editor runs on Electron, it’s not that hard to see why performance could be an issue when working on large projects on older hardware.
      I’ve never personally had an issue with VSCode’s performance, but I’m also fortunate enough to be in a position where I can afford a relatively modern machine. Many others have to make do with what they have, which is why Zed might appeal to them.

      • azertyfun@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Electron has other drawbacks than performance as well.

        The big one for me is that my workflow is based on vim, where you split tabs into buffers. There is no way to split a tab into windows in VSCode. Only windows into tabs, which is super dumb and annoying because related files are never shown together unless you click a bunch of tabs. Apparently the reasoning for this insane behavior is “yeah well electron is based on chromium so tough luck we can’t do shit”.

        • spartanatreyu@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          What do you mean by:

          There is no way to split a tab into windows in VSCode.

          Do you mean, drag a tab out of a window to create a new window? Because if so, you can do that in vscode.

          • azertyfun@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            4 months ago

            No, literally have one tab with multiple windows inside it (the default for vim).

              tab 1  |   tab 2   
            w1 | w2  | w1 | w2
            w3 | w4  |    w3   
            
            • spartanatreyu@programming.dev
              link
              fedilink
              arrow-up
              0
              ·
              4 months ago

              I’m assuming for your example that only one tab is shown at a time?

              In that case, you can do that in vscode, the only difference is the semantics of what is considered a “window”, and what is considered a “tab”.

              To do this in vscode:

              Have one window with four panes, and another window with three panes:

                                       
                      Window 1         
               ┌──────────┬──────────┐ 
               │          │          │ 
               │  Pane 1  │  Pane 2  │ 
               │          │          │ 
               ├──────────┼──────────┤ 
               │          │          │ 
               │  Pane 3  │  Pane 4  │ 
               │          │          │ 
               └──────────┴──────────┘ 
                                       
                      Window 2         
               ┌──────────┬──────────┐ 
               │          │          │ 
               │  Pane 1  │  Pane 2  │ 
               │          │          │ 
               ├──────────┴──────────┤ 
               │                     │ 
               │       Pane 3        │ 
               │                     │ 
               └─────────────────────┘ 
                                       
              

              You can then switch between your windows (or “tabs” in your example) by keyboard shortcut.

              In vscode, you can make the Panes different files, or even different views of the same file.

              • azertyfun@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                0
                ·
                4 months ago

                You mean a whole different window at the OS level? That’s just a way inferior hack to the way vim does it by default.

                I’ve found an issue from 2017 about it and this related one that focuses more specifically on supporting vim-like behavior. This is just, fundamentally, something that VSCode doesn’t implement simply because of technical limitations. The extensions that attempt to recreate this behavior are apparently all quite janky.

                I mean I don’t care, I’m very happy with vim now. But the terribly naive tab support is the reason I left vscode for vim initially. People who have only known “vscode-like” tabs don’t know what they are missing out on.

                • spartanatreyu@programming.dev
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  4 months ago

                  You mean a whole different window at the OS level?

                  Yes, that way I could switch between windows in a single shortcut, or even place them side by side so I can see both at the same time with other shortcuts.

                  That’s just a way inferior hack to the way vim does it by default.

                  Can you explain this more?

                  Why wouldn’t you want window management to be managed by the window manager?