What Editor/IDE Do You Use For OS Development
Re: What Editor/IDE Do You Use For OS Development
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();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: What Editor/IDE Do You Use For OS Development
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.
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.
Re: What Editor/IDE Do You Use For OS Development
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.
- eaglexrlnk
- Posts: 11
- Joined: Tue Nov 08, 2011 8:30 am
- Location: Ukraine
Re: What Editor/IDE Do You Use For OS Development
Vim, of course
"A
computer program
does what you tell it
to do, not what you
want it to do." --
Greer's Third Law
computer program
does what you tell it
to do, not what you
want it to do." --
Greer's Third Law
-
- Member
- Posts: 25
- Joined: Mon Feb 27, 2012 9:46 am
Re: What Editor/IDE Do You Use For OS Development
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
Re: What Editor/IDE Do You Use For OS Development
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);}}
ed implementation in C: main(a){for(;;;){read(0,&a,1);if(a=='\n')write(1,"?\n",2);}}
Re: What Editor/IDE Do You Use For OS Development
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).
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).
Re: What Editor/IDE Do You Use For OS Development
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).ydoom wrote:...kate lacks project management...
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.
Re: What Editor/IDE Do You Use For OS Development
Visual C++ 2011 Beta, right now.
-
- Member
- Posts: 29
- Joined: Wed Jan 25, 2012 2:37 pm
Re: What Editor/IDE Do You Use For OS Development
Geany+qemu/virtualbox, or when I do a quick change, kwrite+qemu.
Re: What Editor/IDE Do You Use For OS Development
I found a plugin restoring this functionality, but written in 2006, and I gave up trying to make it work (dependencies...)Solar wrote: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).ydoom wrote:...kate lacks project management...
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
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 ...?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.
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.
Re: What Editor/IDE Do You Use For OS Development
I just use %s/foo/bar/ to do regex replace.
- Owen
- 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
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)
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)