Which IDE to use for (freestanding) C?
- Nutterts
- Member
- Posts: 159
- Joined: Wed Aug 05, 2015 5:33 pm
- Libera.chat IRC: Nutterts
- Location: Drenthe, Netherlands
Which IDE to use for (freestanding) C?
I've been using C again after a long long time (and loving it). But I'm getting to the point where it would be nice to at least have auto-completion for code I've written. Other nice features would be templates when creating new files and (some) integration with auto-tools and/or cmake.
Using sublimetext 3 at the moment and looking at the Netbeans IDE but it got me wondering what everyone using C for osdev is using a they're IDE. Maybe you all have some other options I might look at.
For me it must run on Ubuntu (Mate) so Windows/Mac options aren't very helpful. But feel free to trow them in there.
Using sublimetext 3 at the moment and looking at the Netbeans IDE but it got me wondering what everyone using C for osdev is using a they're IDE. Maybe you all have some other options I might look at.
For me it must run on Ubuntu (Mate) so Windows/Mac options aren't very helpful. But feel free to trow them in there.
"Always code as if the guy who ends up maintaining it will be a violent psychopath who knows where you live." - John F. Woods
Failed project: GoOS - https://github.com/nutterts/GoOS
Failed project: GoOS - https://github.com/nutterts/GoOS
Re: Which IDE to use for (freestanding) C?
Eclipse. CodeBlocks is pretty good too.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Which IDE to use for (freestanding) C?
I like KDevelop. Mostly for reasons beyond C.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Which IDE to use for (freestanding) C?
That would be like using Visual Studio to develop Java applications.iansjack wrote:Eclipse.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
- Nutterts
- Member
- Posts: 159
- Joined: Wed Aug 05, 2015 5:33 pm
- Libera.chat IRC: Nutterts
- Location: Drenthe, Netherlands
Re: Which IDE to use for (freestanding) C?
What would you suggest?onlyonemac wrote:That would be like using Visual Studio to develop Java applications.iansjack wrote:Eclipse.
"Always code as if the guy who ends up maintaining it will be a violent psychopath who knows where you live." - John F. Woods
Failed project: GoOS - https://github.com/nutterts/GoOS
Failed project: GoOS - https://github.com/nutterts/GoOS
Re: Which IDE to use for (freestanding) C?
What a strange comment.onlyonemac wrote:That would be like using Visual Studio to develop Java applications.iansjack wrote:Eclipse.
I can only assume that you have never used Eclipse and have some sort of idea that it is a Java programming environment. That is an error.
- Nutterts
- Member
- Posts: 159
- Joined: Wed Aug 05, 2015 5:33 pm
- Libera.chat IRC: Nutterts
- Location: Drenthe, Netherlands
Re: Which IDE to use for (freestanding) C?
I agree it's weird because there are no alternatives given.iansjack wrote:What a strange comment.onlyonemac wrote:That would be like using Visual Studio to develop Java applications.iansjack wrote:Eclipse.
I can only assume that you have never used Eclipse and have some sort of idea that it is a Java programming environment. That is an error.
But please let's not get that deep into this or turn it into a "what's better" discussion. That's in the eye of the beholder.
For me, eclipse-cdt sounds good. But there might be more lightweight options to try.
"Always code as if the guy who ends up maintaining it will be a violent psychopath who knows where you live." - John F. Woods
Failed project: GoOS - https://github.com/nutterts/GoOS
Failed project: GoOS - https://github.com/nutterts/GoOS
- Nutterts
- Member
- Posts: 159
- Joined: Wed Aug 05, 2015 5:33 pm
- Libera.chat IRC: Nutterts
- Location: Drenthe, Netherlands
Re: Which IDE to use for (freestanding) C?
Srry I missed this. How you get autocompletion working? Am I that blind?kiznit wrote:Sublime Text 3 =)
"Always code as if the guy who ends up maintaining it will be a violent psychopath who knows where you live." - John F. Woods
Failed project: GoOS - https://github.com/nutterts/GoOS
Failed project: GoOS - https://github.com/nutterts/GoOS
Re: Which IDE to use for (freestanding) C?
My bad, I missed you needed auto-completion.Nutterts wrote:Srry I missed this. How you get autocompletion working? Am I that blind?
Well it does work, but only within a file... It won't auto complete stuff from other files. Which is too bad.
- Nutterts
- Member
- Posts: 159
- Joined: Wed Aug 05, 2015 5:33 pm
- Libera.chat IRC: Nutterts
- Location: Drenthe, Netherlands
Re: Which IDE to use for (freestanding) C?
Exactly... use it for everything, replaced np++ for me and some plugins do provide auto completion for other languages. Just can't seem to find something for C to at-least do that. I could work around the other things but code completion would free me from quite allot of stupid typo-errors when compiling.kiznit wrote:It won't auto complete stuff from other files. Which is too bad.
"Always code as if the guy who ends up maintaining it will be a violent psychopath who knows where you live." - John F. Woods
Failed project: GoOS - https://github.com/nutterts/GoOS
Failed project: GoOS - https://github.com/nutterts/GoOS
Re: Which IDE to use for (freestanding) C?
Nothing beats Visual Studio 2013/2015 for C/C++ code writing, you get completion and many other things.
Of course, it is Windows only, but you could get it on Wine maybe?
If you're a student you could also get the enterprise version.
Of course, it is Windows only, but you could get it on Wine maybe?
If you're a student you could also get the enterprise version.
Re: Which IDE to use for (freestanding) C?
I use Vim for almost everything. It just suits me well (even without plugins it has a lot of useful functions).
But if you have enough resources, QtCreator seems to be a nice IDE: it's possible to enable vim-like key bindings + I sometimes find it good at code-search and navigation (find all places where function is used, switch header/source, go to type/function definition, etc).
But if you have enough resources, QtCreator seems to be a nice IDE: it's possible to enable vim-like key bindings + I sometimes find it good at code-search and navigation (find all places where function is used, switch header/source, go to type/function definition, etc).
Re: Which IDE to use for (freestanding) C?
Mmm QtCreator looks pretty interesting.
Re: Which IDE to use for (freestanding) C?
I personally use Xcode, it can be easily set up for a freestanding C project, it has got all essential features like autocompletion, go to definition, etc. Hovewer, it's only for OS X.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
- Alan Kay