What Editor/IDE Do You Use For OS Development

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: What Editor/IDE Do You Use For OS Development

Post by neon »

msvc 2008...either the entire development suite or just as an editor (building from makefile environment) depending on whats being worked on.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: What Editor/IDE Do You Use For OS Development

Post by Solar »

I have used several different IDEs in my life - GoldED, StormC, JBuilder, VisualStudio, Eclipse, to name just those I can remember right away.

But from me, a clear +1 for VIM as the best environment for C development bar none, and certainly one of the best for C++.

It might seem anachronistic and overly complicated, not worth the effort etc. etc., but I assure you, once you got beyond the simple commands and into how to use it properly, you will never look back. Being available on every platform is a very nice bonus, because it means you can apply your VIM know-how wherever you are.
Every good solution is obvious once you've found it.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: What Editor/IDE Do You Use For OS Development

Post by Yoda »

UltraEdit32 is one of the most powerful plain-text editors with support of syntax highlight, macros recording/playback, different coding schemes and many other things. It compiled both for Windows and for Linux. I stuck to it.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
eaglexrlnk
Posts: 11
Joined: Tue Nov 08, 2011 8:30 am
Location: Ukraine

Re: What Editor/IDE Do You Use For OS Development

Post by eaglexrlnk »

Vim, of course :)
"A
computer program
does what you tell it
to do, not what you
want it to do." --
Greer's Third Law
Milan
Posts: 9
Joined: Sun Jan 01, 2012 7:23 am

Re: What Editor/IDE Do You Use For OS Development

Post by Milan »

Notepad++
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: What Editor/IDE Do You Use For OS Development

Post by Kevin »

+1 for vim.

(But we had this discussion already more than once, for example in this thread)
Developer of tyndur - community OS of Lowlevel (German)
assembler01
Member
Member
Posts: 25
Joined: Mon Feb 27, 2012 9:46 am

Re: What Editor/IDE Do You Use For OS Development

Post by assembler01 »

Give kate (Kde Advanced Text Editor) a try, it has highliting for most programming languages (including assembly). Will need some personalising when setting up (I don't like the default setup).
Talk is cheap, show me the code. - Linus Torvalds
JuEeHa
Member
Member
Posts: 30
Joined: Thu Mar 10, 2011 4:24 am

Re: What Editor/IDE Do You Use For OS Development

Post by JuEeHa »

I hate IDEs (except Python IDLE), so when I develop my OS I use MacVim, Terminal, NASM and Q (QEMU for macintosh. I it bit old, but normal QEMU didn't want compile.).
Using 700MHz Pentium III machine with 64MB of RAM because I feel like it.
ed implementation in C: main(a){for(;;;){read(0,&a,1);if(a=='\n')write(1,"?\n",2);}}
invalid
Member
Member
Posts: 60
Joined: Thu Feb 23, 2012 8:39 am

Re: What Editor/IDE Do You Use For OS Development

Post by invalid »

Programmer's Notepad 2 on Windows, and Kate on Linux.

However, I'm going to try other notepads mentioned by you guys, as kate lacks project management (it just lists all files without possibility to group them).
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: What Editor/IDE Do You Use For OS Development

Post by Solar »

ydoom wrote:...kate lacks project management...
See this KDE ticket, status "RESOLVED - UNMAINTAINED" (i.e., no-one from the KDE team gives a damn no matter how many people upvoted the ticket).

Since it's less-than-obvious, do give VIM a try. It does have project management, split windows, macro recording etc. just like the rest.
Every good solution is obvious once you've found it.
User avatar
Ameise
Member
Member
Posts: 61
Joined: Fri Jul 16, 2010 7:46 am
Location: Chicago

Re: What Editor/IDE Do You Use For OS Development

Post by Ameise »

Visual C++ 2011 Beta, right now.
shacknetisp
Member
Member
Posts: 29
Joined: Wed Jan 25, 2012 2:37 pm

Re: What Editor/IDE Do You Use For OS Development

Post by shacknetisp »

Geany+qemu/virtualbox, or when I do a quick change, kwrite+qemu.
invalid
Member
Member
Posts: 60
Joined: Thu Feb 23, 2012 8:39 am

Re: What Editor/IDE Do You Use For OS Development

Post by invalid »

Solar wrote:
ydoom wrote:...kate lacks project management...
See this KDE ticket, status "RESOLVED - UNMAINTAINED" (i.e., no-one from the KDE team gives a damn no matter how many people upvoted the ticket).
I found a plugin restoring this functionality, but written in 2006, and I gave up trying to make it work (dependencies...)
There's an IDE built around kate, "kdevelop". I'm testing it now, looks fine, it's even able to build kernel and run bochs with one button :)
Solar wrote:Since it's less-than-obvious, do give VIM a try. It does have project management, split windows, macro recording etc. just like the rest.
I gave it a try many times, and I still can't memorize if to replace a string I need to "$1s/foo/bar/" or "$foo/bar^" or ...? ;)
EDIT: apparently, in fact it's "1,$s/foo/bar/g", equivalent to "%s/foo/bar/g" as pointed by brain below
Last edited by invalid on Mon Mar 19, 2012 8:59 pm, edited 1 time in total.
User avatar
brain
Member
Member
Posts: 234
Joined: Thu Nov 05, 2009 5:04 pm
Location: UK
Contact:

Re: What Editor/IDE Do You Use For OS Development

Post by brain »

I just use %s/foo/bar/ to do regex replace.
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: What Editor/IDE Do You Use For OS Development

Post by Owen »

On Windows, Visual Studio; on a Mac, XCode (<-- Often just as a text editor). On Linux, I'm undecided (as I don't have a non-headless Linux machine at the moment)

The main concern for me is how well the editor I'm using understands the code I'm working on. Both XCode and Visual Studio are excellent at this; XCode in particular (since it consults the Clang AST). Code completion which works in the 99%+ of cases, even when dealing with intensive use of C++ templates, is incredibly important to me: code completion is the enabling factor in making your method and type names descriptive (Random example, CFStringCreateWithSubstring vs strstr. Not exactly identical, but given that naming, you can immediately tell what the first does, while you have to remember what the second does. Doesn't really matter for the ISO libc, because its small and managable, but for complex tasks it does begin to matter)
Post Reply