Special IDE specially designed for OS Developers!
-
- Member
- Posts: 63
- Joined: Sat Apr 28, 2012 9:41 am
- Location: Earth -> Asia
Special IDE specially designed for OS Developers!
What do you think is missing in most IDEs?
What must a typical IDE designed for OS Developers must have?
What features do you recommend for a IDE which is designed for OS Development?
What must a typical IDE designed for OS Developers must have?
What features do you recommend for a IDE which is designed for OS Development?
Anyone has a idea of making a ntfs bootsector?if yes PM me , plz.
Re: Special IDE specially designed for OS Developers!
At first I thought you come up weird idea of designed new harddisk interface
I think it's good if IDE of OS development:
1. support syntax highlighting for revalant file types: asm, c, c++, Makefile, sh, ld-scripts
2. support make or custom build system specified by os developer.
3. easy to switch between writing code and test bed. Either easily switch between multiple targets with one of them "test", so a one-click "make test" launch a VM. XCODE is poor at this aspect as you need to go thru' a popup list to switch target, result in a few click-count; using "Build&Run button" you need to pull down the list, which is slow too.
4. support workspace (multiple projects)
5. Link to wiki.osdev.org in the HELP menu
6. Not necessary, but it's nice to have an optional companion package that bundle/download/setup a bare-bone environment, with VM, toolchain and hello-world kernel, so user can do File > New Project > Kernel Wizard and generate a blank kernel for starter.
I think it's good if IDE of OS development:
1. support syntax highlighting for revalant file types: asm, c, c++, Makefile, sh, ld-scripts
2. support make or custom build system specified by os developer.
3. easy to switch between writing code and test bed. Either easily switch between multiple targets with one of them "test", so a one-click "make test" launch a VM. XCODE is poor at this aspect as you need to go thru' a popup list to switch target, result in a few click-count; using "Build&Run button" you need to pull down the list, which is slow too.
4. support workspace (multiple projects)
5. Link to wiki.osdev.org in the HELP menu
6. Not necessary, but it's nice to have an optional companion package that bundle/download/setup a bare-bone environment, with VM, toolchain and hello-world kernel, so user can do File > New Project > Kernel Wizard and generate a blank kernel for starter.
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Re: Special IDE specially designed for OS Developers!
In addition to syntax highlight, the editor should provide code hints while you are typing - autocompletion on KDevelop's level is perfect.
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
- Firestryke31
- Member
- Posts: 550
- Joined: Sat Nov 29, 2008 1:07 pm
- Location: Throw a dart at central Texas
- Contact:
Re: Special IDE specially designed for OS Developers!
Although last I saw it was Windows only, Programmer's Notepad 2 does all but the last 2. You can bind "make test" to a hotkey (I use F5 because that's what Visual Studio uses). If the editor doesn't support a language you use you can add your own scheme to it. Plus you can customize the syntax highlight coloring.bluemoon wrote:At first I thought you come up weird idea of designed new harddisk interface
I think it's good if IDE of OS development:
1. support syntax highlighting for revalant file types: asm, c, c++, Makefile, sh, ld-scripts
2. support make or custom build system specified by os developer.
3. easy to switch between writing code and test bed. Either easily switch between multiple targets with one of them "test", so a one-click "make test" launch a VM. XCODE is poor at this aspect as you need to go thru' a popup list to switch target, result in a few click-count; using "Build&Run button" you need to pull down the list, which is slow too.
4. support workspace (multiple projects)
5. Link to wiki.osdev.org in the HELP menu
6. Not necessary, but it's nice to have an optional companion package that bundle/download/setup a bare-bone environment, with VM, toolchain and hello-world kernel, so user can do File > New Project > Kernel Wizard and generate a blank kernel for starter.
All I think it would need is a port to Linux/Mac and it would probably be pretty competitive.
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
Re: Special IDE specially designed for OS Developers!
You all seem to be describing Eclipse. Works for me.
- 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: Special IDE specially designed for OS Developers!
1. Fast and memory-efficient (GTFO, Eclipse)
2. Does not keep you from making it do what you want (GTFO, Visual Studio)
3. Does not require an OS upgrade for each new version (GTFO, Xcode).
</rant>
2. Does not keep you from making it do what you want (GTFO, Visual Studio)
3. Does not require an OS upgrade for each new version (GTFO, Xcode).
</rant>
- 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: Special IDE specially designed for OS Developers!
berkus wrote:</pant>
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: Special IDE specially designed for OS Developers!
There is really nothing unique about an IDE for osdev'ers vs an IDE for anything else. People have suggested Kernel Project Types, wizards and templates for interrupts, etc, but those things are boilerplate parts that once are mature you never touch again and make up very small part of your overall kernel.
If you're using C, use a mature C IDE. You get syntax errors underlined, possible function/variables names listed as you type, easy re-factoring of names, jumping to declarations/definitions, etc.
Me? I use Visual Studio and UltraEdit for nearly everything.
The debug/beta builds of Visual Studio are slow. Because of it's plugin architecture, I suspect every keystroke is sent through about 100 .Net subsystems until it figures out what to do, and there is a noticeable typing lag. The release buildings are a lot faster.
If you're using C, use a mature C IDE. You get syntax errors underlined, possible function/variables names listed as you type, easy re-factoring of names, jumping to declarations/definitions, etc.
Me? I use Visual Studio and UltraEdit for nearly everything.
The debug/beta builds of Visual Studio are slow. Because of it's plugin architecture, I suspect every keystroke is sent through about 100 .Net subsystems until it figures out what to do, and there is a noticeable typing lag. The release buildings are a lot faster.
My OS is Perception.
Re: Special IDE specially designed for OS Developers!
Anything with make integration will do. Geany is my favorite for Linux because it has customizable buttons for executing make or arbitrary commands. I don't actually use IDEs too much though.
- NickJohnson
- Member
- Posts: 1249
- Joined: Tue Mar 24, 2009 8:11 pm
- Location: Sunnyvale, California
Re: Special IDE specially designed for OS Developers!
I really don't see the point of having a single button that does the whole build process. Using gvim in one virtual desktop and xterm in the other, I only have to do Alt-F2,<up arrow>,<enter> (4 keystrokes) to re-run my make command. With muscle memory, I'm pretty sure this is faster than one mouse seek and click. Both are smaller than the combined make+QEMU+guest OS startup time anyway.
Re: Special IDE specially designed for OS Developers!
I think biggest problem with IDEs is that they are so bloated. I use gnu screen running ed on lower region and build/test shell on upper region. If someone made IDE like Python IDLE I would probably at least try it and see is it worth enought to justify running X all the time and not just when I want to lauch qemu.
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);}}
- gravaera
- Member
- Posts: 737
- Joined: Tue Jun 02, 2009 4:35 pm
- Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Re: Special IDE specially designed for OS Developers!
Tbh, I don't think there are any requirements that really differ for a general application dev IDE and a kernel dev IDE
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Re: Special IDE specially designed for OS Developers!
And most of my OS development isn't kernel development anyway.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: Special IDE specially designed for OS Developers!
I see some people are anti-IDE. There are two reason why I like to use an IDE (can apply to any at all - Eclipse, NetBeans, Emacs, UltraEdit, etc):
IDEs can't do everything, but Visual Studio + CMD + Virtual Box is more productive for me than Alt+tabbing between 20 text editors + 10 folders + CMD + VirtualBox.
- File management. I love having all of my files in a tree-view on one side of the screen. If I wanted to quickly reference a header file without this feature I would either frustratingly:
- Keep ALT+TAB'ing to find the right file manager window out of 10 open windows, go up 3 levels of directories then down a level just to open a specific file.
- Do "cd.. cd.. cd.. cd include" at the command line to find my file then "cd .. cd src cd kernel cd processes" to go back too where I was.
- The editor knows the overall scope of the code. I love being able to right click a function and "Go to definition". Bring up the "Find in Files" dialogue with a quick keystroke. Ctrl+Space and see a list of suggested functions/variables/classes - along with a tooltip showing the function's prototype or the variable's type.
IDEs can't do everything, but Visual Studio + CMD + Virtual Box is more productive for me than Alt+tabbing between 20 text editors + 10 folders + CMD + VirtualBox.
My OS is Perception.
Re: Special IDE specially designed for OS Developers!
I agree with almost all of the standpoints previously mentioned in this topic. I too like to use an IDE, just because it's simple, but the currently available ones just don't cut it for me (note that I'm talking about real IDE's here, not plain text editors possibly supplied with some possibility to invoke make, cause that's not an IDE). IMO it's like all of the IDE's that come with upsides also come with major downsides:
- Eclipse - Mostly the reasons Combuster mentioned.
- NetBeans - Offers great functionality, but doesn't feel native (Swing?), even slower and more of a resource-hog than Eclipse.
- Visual Studio - Offers great functionality and integration, but comes with a buttload of extra packages that you don't necessarily want (or need for that matter, Compact SQL Server, anyone?) for plain C++ development. Also what Combuster mentioned: always wants to put itself partially on your Windows drive, takes way too long to install, and so on.
- Qt Creator - Entirely different way of developing than most IDE's and specifically aimed at Qt (IMO not very suitable for other C++-related tasks).
- Code::Blocks and CodeLite - Don't even get me started on these.
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.