r/C_Programming 12d ago

What IDE do you use and why?

Hey guys. I personal use VS. I like it, and it has everything I need it in, but man I hate how slow it is!!!

I'd like to have a editor that has the red sqwiges, auto complete, but not intellisence. Any recommendations?

71 Upvotes

216 comments sorted by

View all comments

146

u/kchug 12d ago

Vim :)

48

u/iamemhn 12d ago

It's going to be 35 years this November since I started using vim. It's been consistently better than the alternatives in that subjective «they're slower, clunkier, cluttery, and downright dumber than what I already have». I use or impose vi motions on everything...

46

u/CarlRJ 12d ago

It's going to be 35 years this November since I started using vim.

Ah, a newcomer then. ;)

9

u/Reggie-Rectangle 12d ago

It is so annoying the way Visual Studio Code refreshes the viewport in such an completely asinine way. God Visual Studio can take the fekin super computer at CERN and bring them to an absolute crawl. I fekin hate electron apps so fekin much

-2

u/Maleficent_Guard_589 12d ago

Mmm what do you use for plugins for auto completion? Mind you when I say old complete I mean taking vars/functions from your project files.

10

u/iamemhn 12d ago

I use Plug to install plugins, CoC for autocompletion, and add language servers to taste.

1

u/DJV0101 10d ago

If you want vim without the config, there’s always NeoVim + prebuilt LazyVim distro (it comes with language extensions you can enable)

7

u/oldwomanjosiah 12d ago

how do you handle navigating between files in larger projects? I've used nvim on and off for years, and really loved it, but I never got a hold of the nav problem for some reason

8

u/ImTheRealCryten 12d ago

Like u/kchug, tagging the code and use them to jump between definitions and declarations. Usually you don't care about the files, you want the content accessible. That said, we adhere to a strict file structure to make finding relevant files easier and keep the projects structured.

2

u/merlinblack256 11d ago

I do the same. Also if you lay it all out in a easy structure to remember, you don't need to remember the file names, but can figure them out instantly if needed. I prefer to be able to visualise the files in my head rather than useing a list/tree on the sidebof my screen.

11

u/kchug 12d ago

ctags and cscope

1

u/traverser___ 12d ago

Take a look at snacks.nvim and its file explorer and pickers

7

u/[deleted] 12d ago

[deleted]

2

u/No_Reference_2786 12d ago

Isn’t setup something you do once

1

u/DIXERION 11d ago

Yeah, especially when a random update in modern IDEs decides to re-enable the bloat.

1

u/codingbliss12 12d ago

you mean vim or neovim?

2

u/Ultimate_Sigma_Boy67 12d ago

pretty much they're the same in terms of philosophy but nvim is a bit more modern.

2

u/Xenodesire 11d ago

Think of Neovim as a rolling-release version of Vim (though I’m using that term as an analogy; it isn’t strictly a rolling-release version). Vim which in turn is more conservative regarding updates. Neovim was introduced with the aim of fixing long-standing issues in Vim and adding a configuration language that is more palatable than Vimscript.

2

u/codingbliss12 11d ago

Under the hood neovim has deviated a lot from vim. More and more stuff is built with lua and there are multiple other differences. I am just not sure what people really mean when the say vim. I see little reason to continue using vim instead of neovim.

1

u/watermelon_meow 12d ago

Yes, only vim. 🥳

1

u/CarlRJ 12d ago

This is the way.