I use vscode for my personal projects (c++ and a fully open source stack, compiling for both Linux and Windows).

I’m using the proprietary version of vscode (via the aur) for the plugin repository, but I’ve always envied the open source version…

Are there any tools that have made you excited?

Bonus points if they have some support for compiling with MSVC (or if you can convince me to ditch it for something else).

  • AthereoAndromeda@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    4 days ago

    I use helix editor in the terminal (Technically not an IDE but neither is VSCode). Works great for a keyboard and terminal-centric workflow. I had to configure it a bit to get it where I want but after that I had a blast to write Rust projects in.

    It does get a lot of getting used to if you’re not used to vim-like keybinds, and does take memorizing shortcuts

    • bipedalsheep@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      4 days ago

      Helix is awesome. I’ve spent many hours these passed months configuring both Sway and Helix to my liking, and it has become joyous to use them together. I prefer Helix’s default configs to vim’s. Still got to use Vim motions a lot though, in Obsidian etc. Similar in many aspects, but there are many small things Helix does which I find more logical. u for undo and U for redo. Small things.

  • Solemarc@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    4 days ago

    Used to use vscode, then one day it stopped working for me. I’ve been using Helix full time for a few months now and I’m pretty happy with it.

    • spartanatreyu@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      4 days ago

      I really want to switch from VSCode to Helix but not having a file tree is a deal breaker.

      Luckily there’s been a lot of work on adding a plugin runtime with one of the proof-of-concept plugins being a file tree. Assuming the plugin runtime comes out this year in a helix release, and adding on a year for the community to settle on the first wave of plugins while giving them time to mature, I can see myself using helix fulltime in 2027 (before Microsoft has enshitified vscode enough to be unpleasant to use).

    • rklm@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      4 days ago

      I used vim for all of my personal stuff until switching to vscode a few years ago, so an editor inspired by neovim is exciting!

      Also,

      No Electron. No VimScript. No JavaScript.

      Hah! Shots fired, I love it

  • TheMightyCat@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    4 days ago

    Currently I use Code OSS, which is less my favorite but it works.

    Out of all the IDE’s I’ve tried (vscode, webstorm, Code OSS, Kate, KDevelop), regular old Visual Studio 2022 is still my all time favorite, using it is such a smooth experience.

    Its biggest flaw and why i had to switch is no linux support :(

  • sbird@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days ago

    I like vscodium. Basically the same as vscode but without MS stuff. (but that also means a few extensions are gone, like the c/c++ extension and intellicode)

  • hosaka@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    Rider for Unreal Engine at work. Neovim at work/home for literally everything else (web, golang, python, zig). I have vscodium as well, a glorified config file editor basically.

  • JustEnoughDucks@feddit.nl
    link
    fedilink
    arrow-up
    6
    ·
    4 days ago

    I use Code OSS with clangd and the nvim extension (because Microsoft disabled their c/c++ tools) because i want access to the nrfconnect extension pack as a beginner. I don’t have to go searching in the documentation and compiling, then recompiling 10 times to self-discover the required devicetree parameters and figure out what drivers are available vs mainline zephyr.

    Plus the debug interface works well.

    For everything else possible it is vim/neovim, but I haven’t been able to find good neovim setup for nrfconnect.

      • JustEnoughDucks@feddit.nl
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        Nope, I don’t know the difference really. I think my arch distrobox had code oss marketplace extension as a package (to get nrfconnect auto updating) so maybe that’s the reason?

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          2 days ago

          I don’t know! I’ve seen two people in this thread specifically mention Code - OSS and I’ve literally never seen anyone else use it so it was intriguing. Whenever I see folks using something other than VS Code I am happy. Fuck fauxpen source. (VS Codium is actually open source.)

  • network_switch@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    3
    ·
    4 days ago

    Professionally I do use VS Code but at home I have Lapce installed. It opens really fast. I don’t do anything extensive at home so I haven’t explored the plugin ecosystem yet but it’s fast. That’s most of what I care for at home

  • deegeese@sopuli.xyz
    link
    fedilink
    arrow-up
    43
    arrow-down
    4
    ·
    4 days ago

    I’ve been on the JetBrains bandwagon for a long time and no desire to switch.

    • BiteSizedZeitGeist@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Thought I was going to show my inexperience because so many posts here are Unix/vim. I’d love to be that kind of wizard… but I think Adobe has spoiled me for UI and JetBrains definitely has that vibe (maybe for the worse just as much as the better)

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      4 days ago

      I found most people don’t realize the many tiny features it adds over for example vscode (even with all the best plugins enabled yadayada) which in sum make it a much smoother developer experience.

      Instead they open it for the first time, type some lines and say it is on par with vscode.

    • Hugin@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      Qt Creator is my favorite IDE. I’m mostly worrking in C# these days and I so miss it.

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    36
    arrow-down
    4
    ·
    edit-2
    4 days ago

    Right now, the jetbrains IDEs are my favourite because they are proper IDEs, not some editor with a bunch of scripts in a trenchcoat pretending to be an editor. But the company is starting to lose touch with its customers: developers who want an IDE for productivity, not a VS Code lookalike. It’s like the company is finally being taken over by managers who don’t know lick about development and it’s starting to show (at least to me).

    Now, I’m on the market for a new editor and even willing to pay, even though I’d prefer paying for an open source IDE. Right now, Zed is looking interesting. The only thing that bothers me is how loud people were about it. Hype destroys my faith in stuff as it’s often just good marketing. Another thing that bugged me is that when they started, they were “Mac first, Linux maybe”. But now that the hype has died down, there’s much less “omg, zed is the new editor and it will be better anything else” type posts, and it supposedly works on Linux, I can give it a try.

    Anti Commercial-AI license

      • astrsk@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        Any advice? I’m trying to get a handle on it but I’m having trouble remembering anything or finding what to do in the first place.

        • After being a vanilla vi then vim user for a long time before switching to neovim, I find folke’s which-key plugin to be very helpful. If i begin a key shortcut combination (or press my leader key), it shows me all the keys I can press next, and again after each additional step of a multi key sequence, and what each key sequence does. it works for mappings Ive added (usually basically the defaults for a new plugin) but also the standard built-in preset keymappings (see the ‘built-in’ plugins for which-key) for things like window mamagement and motions, using/viewing the registers (what did I just yank?), even spelling corrections, which helps you learn and build muscle memory. Often I dont use a specific mapping for a while and this helps me find it, especially when I group mappings by plugin, and/or prefix all mappings for a particular plugin or task with an additional prefix letter, so they all appear as options when I get as far as rembering “all my debugging mappings start with my leader key, followed by d.” By grouping tasks and plugins that way, I can press my leader key and see a list of where to go next, almost like browsing a menu hirearchy. “i dont remember which button to press after leader and d to toggle a breakpoint, but I know that’s where I’ll find it”

        • ZweiEuro@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          4 days ago

          This advice will seem rather generic but this has worked for me. Background: I’ve been programming for a good 15 years in various languages and mainly in VSC and veeery long ago in the arduino IDE (I do not want to talk about those dark times).

          1. Get a pet project to try this against. Learning controls for the sake of it, is … useless. If its just text, there is no intuition or goal. I chose to try and teach myself rust and go through the learnopengl tutorial again and change it to work with miniquad-rs. Maybe pick something you are familiar with! A new language is a rather tall order usually.

          2. Get a functional config and edit it. Personally kickstart.nvim is really nice for generic settings, but their setup of plugins, and especially LSP (language server config) is really hard to read and difficult to parse. My recommendation for setup:

          2a. Copy thePrimeagen’s config ( https://github.com/ThePrimeagen/init.lua/tree/master ) which he creates with this tutorial: https://www.youtube.com/watch?v=w7i4amO_zaE NOTE: The actual config is using lazy now instead of the plugin manager he has in the tutorial! the broad strokes are the same but e.g. there is no “after” for the plugins and some other details. What he says about general vim config is still correct tho. Also lazy is much simpler, no longer do you need like 20 different packages for each LSP. (edit: found what makes it work on my setup it https://github.com/nvim-lua/kickstart.nvim/blob/6ba2408cdf5eb7a0e4b62c7d6fab63b64dd720f6/init.lua#L487 its mason-tool-installer in kickstart)

          2b. Make a subfolder like lua/theprimeagen e.g. lua/$USER.

          2c. Comment out this line https://github.com/ThePrimeagen/init.lua/blob/158c9ccd652e5921cc6940205da6ed20776e7cc7/init.lua#L1 and instead require yours.

          2d. open .config/nvim in VSCode (yes, it would recommend using something you know to edit)

          2e. line by line, file by file, go through the config files and his video and add what you think is interesting. This took me a good 5h (a good days work) to get somewhat done.

          2f. Also look at kickstart.nvim! Theprimeagen is a pro at this stuff so he has no descriptions for his keybindings! (Which you can add when you use e.g. vim.keymap.set("n", "<leader>pv", vim.cmd.Ex, { desc = "[p]roject [v]iew"}). ( The [] are just for niceness, no syntactic value). Why does this matter? -> Because kickstart.nvim has a config for the mind-blowingly useful which-key plugin ( https://github.com/nvim-lua/kickstart.nvim/blob/6ba2408cdf5eb7a0e4b62c7d6fab63b64dd720f6/init.lua#L302 ). Which shows hotkeys and their description while you play with em! Really good for learning!

          1. When making your config absolutely ignore anything that is not in the “top 10 things you do in any other editor”. E.g. I really only need “go to definition”, “go to file” (which is a telescope fuzzy find), “find references” or “rename”. ThePrimeagen has really words of wisdom here “If its something you do rarely, fuck automating it, only automate it when its actually worth remembering the hotkey”.

          2. In general you want to reduce friction between thinking, clicking and on-screen action. So anything like “oh what if I want to have a hotkey to rename a C++ header file AND its source file in one go” is a good deal too complex. Keep it super simple.

          3. learn how window jumping with stuff like :vsplit works in nvim, it works great!

          4. For Tmux, you only really need whatever this legend says: https://www.youtube.com/watch?v=vtB1J_zCv8I Sidenote: I made my first project a simple Tmux script that is exactly what fireship describes and launches pre-defined sessions. Works great!

          5. learn by doing :D

          Struggles:

          • Moving with hjkl is painful at first, but believe me it is goddamn worth it. I deactivated the arrow keys and mouse clicking altogether so I don’t accidentally do it. Also you will be using wb and tf mainly anyways! (word, back, to, find).
          • Learning the nvim internal file browser (netrw) is worth it!
          • Lua is nice but I have never used it before doing this a few days ago. After each plugin restart vim and check for any errors. If you copy something outdated or otherwise problematic you want to fail fast instead of end up with a tangled mess of configs that you need to throw out entirely.
          • Editing nvim configs while in nvim is dumb and really annoying. Just do it in VSC or something you are familiar with.

          Random misc:

          • Insane plugins: UndoTree (which ThePrimeagen uses)

          • Insane keycombos: e.g. you are somewhere inside of “Some Really long string that you might wanna change or copy”. normal mode. ’ vi" '. -> v-> visual, i -> inside of, " -> whatever you wanna be inside of. It will select the entire string inside the ". Yes i know this is basic but this shit is SO useful. Works with ANY delimiter (afaik) like ([{

          • DuckDuckGo actually is navigate-able with hjkl! Pressing j to go down the results list is really useful. I am using hyprland so ctrl+tab focuses a browser window. Ctrl+t new window. Type in search. Enter. Go up and down down with jk. really nice, no mouse needed.

          Links: The entire primeagen playlist: https://www.youtube.com/playlist?list=PLm323Lc7iSW_wuxqmKx_xxNtJC_hJbQ7R

          kickstart.nvim: https://github.com/nvim-lua/kickstart.nvim/tree/master

          Note: I would share my config but my dotfiles are on my own git server and have sensitive info inside I don’t feel like cleaning out

          • astrsk@fedia.io
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            Thank you! This is a wonderful post, I will take another shot this weekend and hopefully something will stick this time :)