qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ?off? ide/code editor under linux
@ 2006-08-06  1:44 NyOS
  2006-08-06  3:52 ` M. Warner Losh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: NyOS @ 2006-08-06  1:44 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

Hi!

I think it might be a bit offtopic here, but I'm already on the list, and  
I'm interested in some experienced users' opinion.
I can find ads on google, but not experience.

I'm looking for a good IDE (or just a good code editor) under linux.
My first try was kdevelop approx. 3 years ago (2.2.2 version). It was too  
complicated. 3.x.x is a bit unstable.
Vi is unconfortable for me,
I prefer using pico and gnu nano, but it's too stupid for some tasks.

My coding style:
There's usually a headers.h file with global headers and global constants  
(e.g. stdio.h, #define-s)
For a module called 'foo' there's a foo.c (or foo.cpp) and a foo.h  
(lowercase)
.h:
#ifndef _FOO_H //capitals!
#define _FOO_H //capitals!

class foo //c++
..
#endif

.c or .cpp:
#include "headers.h"
#include "foo.h"

class foo //c++
{

};

A bash script can create this (and I have bash scripts for creating new  
modules, adding new functions, etc..), but it'd be good to have an IDE  
that can create (according to a template file) these, inserting module  
name lowercase or uppercase at different places..

I don't need intellisense (it's good to have one but not necessary), just  
these simple things. (Maybe hotkeys for calling make, but not vital.)
Syntax highlighting is good, tab replacing is bad (drives patch/diff  
crazy).

I've just checked kdevelop, and I could found only a $MODULE$ keyword in  
file templates (its help system knows only c++ templates), which inserts  
module name (in lowecase) in a very simple way (it doesn't understand  
#include "$MODULE$.h").

Another problem is if I use one system, then it probably has an own  
project format. So importing a bigger (not native) project (like QEmu)  
would be a nightmare.

But with smaller applications (currently nano) I can only see the whole  
project through a small window: one file at a time. Opening more terminal  
tabs resolve this, but makes things more complicated. (opening at least 5  
tabs, 2 .c/cpp with their .h file, one for making and running application)

Once I had to develop an app. under win32, I've used context. That's a  
simple editor that knows syn hl., supports crlf/lf end of line, has tabs  
to edit more files at once, and has some customizable hotkeys. Not  
perfect, but good.

Oh, and I prefer black text background to prevent my eyes flowing out from  
their place, so customized colors would be nice.


So, what do You use? Or what should I try? Any ideas?

Nyos
ps:
Ok, to be more ontopic, it's a good solution to install and run context in  
a QEmu instance under win32, and mounting a samba share, but I think there  
must be some better ones.

--------------------------------------------------------------------
"Software is like sex: it's better when it's free." - Linus Torvalds
"Software is like sex: it's better with a penguin." - unknown

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-06 16:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-06  1:44 [Qemu-devel] ?off? ide/code editor under linux NyOS
2006-08-06  3:52 ` M. Warner Losh
2006-08-06  5:55   ` NyOS
2006-08-06 11:13 ` Thomas Steffen
2006-08-06 16:21 ` Oliver Gerlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).