• aname@lemmy.one
      link
      fedilink
      arrow-up
      17
      ·
      1 year ago

      I just send highly trained butterflies in the atmosphere that cause air currents in the upper atmosphere to affect the path of cosmic waves which write the program in my computer’s memory

  • sorrybookbroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Neovim, and secondly lazygit. I guess you could count tmux too. I live in the terminal

    It’s just what I like man, it’s very customizable and wraps around my workflow instead of me wrapping around it’s workflow. I think about doing a thing and at a point muscle memory kicks in and the thing happens.

    • DrM@feddit.de
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      1 year ago

      My work laptop has Windows installed, but I use VSCode and WSL or EC2 Linux instances solely for my work. VSCodium would not work with that workflow because it lacks the Remote and WSL functionality

      • TwinHaelix@reddthat.com
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        100% in the same boat. WSL and VSCode is basically a requirement for me, and codium can’t do the WSL linking.

  • colonial@lemmy.world
    link
    fedilink
    arrow-up
    24
    arrow-down
    2
    ·
    1 year ago

    Mostly just Visual Studio Code, alongside the usual constellation of Git + assorted language toolchains.

    It’s plug and play at every level - no need to waste hours fucking around with an Emacs or (Neo)Vim configuration just to get a decent development environment set up.

    (And yes, I would use Codium, but the remote containers extension is simply too good.)

    • Jiří Král@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      1 year ago

      You can download any visual studio code extension from the visual studio extensions marketplace as far as my experience goes. There’s a “download extension” link for every extension which will give you a *.vsix file. Only pity is that you won’t get any automatic updates for the extension.

      8 just took a look and the VS marketplace website on my mobile and look at what I have found under the “resources” section! This is same for every extension.

      • colonial@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        1 year ago

        Unfortunately, it’s not that simple. The Remote* extensions rely on the (proprietary) VSCode server, and nobody has managed to hack it to work with e.g. Codium.

      • voxel@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        it relies on a proprietary blob + product.json config from proprietary vscode builds
        there’s an open source remote development extension (works pretty well) but it currently only supports ssh

  • V H@lemmy.stad.social
    link
    fedilink
    arrow-up
    17
    arrow-down
    2
    ·
    1 year ago

    My own custom text-editor, because it’s written to fit into my environment exactly how I want it.

    • TuxMark5@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      What features does your editor have that other editors cannot provide? Seems like it would be easier to grab one of more popular editors and script/write a custom plug-in to suit your needs.

      • V H@lemmy.stad.social
        link
        fedilink
        arrow-up
        11
        ·
        1 year ago

        That was my starting point, and I changed because it wasn’t easier.

        I switched because my Emacs config was thousands of lines of code to try to wrangle it to do what I wanted. My editor is ~3.5k lines of code and is closer to things how I want them. It’s spartan, and you and most other people would hate it. That’s fine - I have no interest in writing a general-purpose editor.

        Writing a good general-purpose editor is immensely hard, but writing a small editor for yourself is not.

        I could absolutely manage to squeeze everything I want into any open-source editor and many proprietary ones via extensions, but there’s no value in that to me when I can write less code and get something that’s exactly adapted to my workflow.

        For starters, I use a tiling window manager, and there are no editors that are designed with that in mind. That doesn’t mean they work badly with them, but that e.g. they spent a lot of code on window and tab/frame management that my window manager is already doing the way I want it, and so just by making my editor client-server (a few dozen lines of code with Ruby via DrB), I got that “for free”: When I split a view in two, I use the API of my window manager to halve the size of the actual top level window and insert a new editor instance that observes the same buffer. I could retrofit that on other editors too, but doing it from scratch means the “split a view in two” code in my editor is about a dozen lines of code.

        Another example is that for my novels, the syntax highlighting dynamically adapts to highlight things I’ve taken notes about (e.g. characters, locations). I could do that with another editor too, but having full control over the way the rendering layer works meant it was trivial to have my custom workflow control the lexing.

          • V H@lemmy.stad.social
            link
            fedilink
            arrow-up
            8
            ·
            1 year ago

            Do it. It’s fun.

            My advice is to start small, and look at some simple examples. E.g. I knew I wanted mine to run in a terminal, and I love Ruby, so I started with Femto which is a really tiny Ruby editor. By itself, it’s pretty useless (but beautifully written), but it was remarkably quick to get to something that was “tolerable” for light editing, and then I iterated from there.

            There are many options for small ones for all kinds of different values of “small” that can serve as inspiration. E.g. Linus Torvalds has his own branch of MicroEmacs (as do many others, it’s a popular starting point, and the basis for e.g. Pico, mg, Vile). Antirez (of Redis fame) has Kilo, so named because it was written to be <1k lines excluding comments, and there’s an “instruction booklet” on how to write one that’s using Kilo to demonstrate approaches to writing one.

            The first starting point, I think is deciding how general you want it to be. E.g. I early on decided I don’t care at all about being able to use it as my only editor ever, and that meant I could pick and choose use-cases that were out of scope. For example, I just want to edit “human-scale” files, not multi-GB datasets or log files - I’m happy to open that in Emacs if I ever need it - and so that gave me far more flexibility in terms of data structures because I don’t need it to scale beyond a few thousand lines, and that saved me a lot of effort.

  • jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    PyCharm. Does pretty much everything I need. Work paid for it.

    • syntax highlighting
    • auto complete and suggestions
    • find usages/definition
    • refactor
      • delete
      • move
      • extract
      • rename
    • git integration
    • SQL integration
    • steps into library code
    • connect to sources installed in docker
    • probably other stuff I take for granted and can’t think of now

    I’ve had some coworkers who are more “steady hand and a magnetized needle” and I don’t know how they do it. Like I was collaborating with a guy and watching him manually find and rename stuff was painful. Though I think a lot of people just don’t know how to use their tools. There’s a lot of stuff in pycharm I dont use.

    I’m still slightly salty about an old coworker that would use vanilla sublime and make PRs full of easily caught errors. “Can you approve my pr?” “No dude the linter failed. Did you ever set up any of the tooling locally?” “Nah”

    • Walnut356@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      Is pycharm’s semantic highlighting still kinda ass? That’s the biggest thing that stopped me from using it over vsc. As of like may this year i remember there still being active issue tracking for it.

      • jjjalljs@ttrpg.network
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Now it is my turn to be the guy with the steady hand and magnetized needle. I don’t think I use semantic highlighting unless it’s on by default and I never noticed . I might go check it out on Monday.

        Do you remember what issues you were having with it?

    • nieceandtows@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      For me the remote deployment and ssh interpreter are very useful. I develop on a Mac and deploy on Linux servers. Sometimes there’s a scenario where a library works on Linux but has trouble working on Mac. Rather than spend time working on getting it work on Mac, I just remotely deploy it to a tmp directory on a Linux server and setup an ssh interpreter on the server, and continue developing on the Mac. Very useful for me.

  • catfish@lemmy.ml
    link
    fedilink
    arrow-up
    16
    arrow-down
    2
    ·
    1 year ago

    CLion & PyCharm.

    Platform independent, and “just work”. Not missing any functionality I ever wanted and with a new machine even CLion’s almost legendary slowness is under control.

    • sjpwarren@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      How did you get the slowness under control. I have not had a problem until recently and now the slowness is killing me. I use pycharm and goland.

  • 30p87@feddit.de
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Jetbrains’ IDEs. Cuz they’re Linux native, not by M$ and look nice and uniform IMO. For things that don’t require a full blown IDE I just use vim.

    • MajorHavoc@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      1 year ago

      Dr Doofenschmirtz contemplates

      “If I had a nickel for every time I heard that…I would have two nickels. Which isn’t a lot, but it’s weird that it happened twice.”

  • gbin@lemmy.ca
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    Neovim (nvchad) with copilot to write Rust. Why? The terminal environment is super flexible: I have 2 desktops and a laptop running on Arch Linux, all the same dotfiles with tmux to keep my sessions alive.

    It all depends on your application domain: I mainly build embedded Linux code for a transportation drone.