Special IDE specially designed for OS Developers!

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
shikhin
Member
Member
Posts: 274
Joined: Sat Oct 09, 2010 3:35 am
Libera.chat IRC: shikhin
Contact:

Re: Special IDE specially designed for OS Developers!

Post by shikhin »

Hi,
berkus wrote:
MessiahAndrw wrote:I see some people are anti-IDE.
...sublime text 2...
FTW! :lol:

Regards,
Shikhin
http://shikhin.in/

Current status: Gandr.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Special IDE specially designed for OS Developers!

Post by Solar »

I haven't read anything in the "requirements" mentioned in this thread that vim couldn't provide, from switching through multiple files and auto-completion and "go to declaration" to code folding and calling "make" and jumping directly to the piece of code that gave the compiler error.

Then there are two things that most other IDE's mentioned here cannot provide: You can use vim for C/C++ just as well as for Python or LaTeX. And you can have vim everywhere. It's either already installed by default or can be installed with minimum hassle, even on severely restricted systems. You might have a difficult time convincing the sysadmin to install Eclipse on a server, but they won't give you trouble if you're asking for vim - i.e., you can do everything on every platform without ever having to switch editors, and it's dead-easy to take your favourite editor settings with you (~/.vimrc is all it takes).

Oh, did you know that there is a vim plugin for Visual Studio? :twisted:
Every good solution is obvious once you've found it.
User avatar
mnovotny
Member
Member
Posts: 27
Joined: Mon Aug 10, 2009 2:54 am
Location: Slovakia

Re: Special IDE specially designed for OS Developers!

Post by mnovotny »

Sounds like vim is perfect. Is there any way to make vim a normal text editor? You know without that mode crap.
Keep the world with all its sin
It's not fit for livin' in
User avatar
linuxfood
Member
Member
Posts: 38
Joined: Wed Dec 31, 2008 12:22 am

Re: Special IDE specially designed for OS Developers!

Post by linuxfood »

berkus wrote:
MessiahAndrw wrote:I see some people are anti-IDE.
In my sublime text 2 (which is not an IDE by the way) I can simply tap command+P and enter any part of the filename to navigate to the file in question.

Since it's written in python nothing really prevents you from writing a plugin to handle "Go to definition" and any kind of complex refactoring, although I didn't feel a pressing need for that yet.
SublimeClang. https://github.com/quarnster/SublimeClang

For your refactoring needs: http://clang.llvm.org/doxygen/ASTMatche ... ource.html
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Special IDE specially designed for OS Developers!

Post by thepowersgang »

Most of the power of vim comes from the fact that it is modal. I allows you to re-use the alphanumeric keys for commands, without needing modifiers (Ctrl, etc.)

I personally use vim for nearly all my text editing, with a few small exceptions. If I'm going to be copy-pasting a lage block of text I will use something like gedit, just because the terminal clipboard support is slow when you reach the 1000 word mark :)

Apart from that, I usually have god knows how many vim sessions running. (I think I have about 5 open now, on different servers and being used for several different projects)

Sure vim lacks the pretty features that many desktop IDEs have, but the ability to use it over ssh wins hands down.
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Special IDE specially designed for OS Developers!

Post by Solar »

mnovotny wrote:Sounds like vim is perfect. Is there any way to make vim a normal text editor? You know without that mode crap.
Actually, the trick is not to try using vim as something else, but to use vim as it was intended to be used. It is significantly different, and feels alien as long as you don't "go the whole way". Once you do (and learn how to jump words and paragraphs, "mark to matching brace", do macros on the fly, that kind of stuff), you realize how useful it can be. It took me several years of using vim half-heartedly (coming from GoldEd / UltraEdit, and knowing only the bare essentials of vim). I only went the whole way when I realized how limited existing LaTeX editors are. I found vim-latexsuite, and wanted to give it a try - that was sometime last year. Since then, I'm a convert, using vim exclusively. I haven't seen any other editor as all-around useful.

One of the big advantages, for me at least, is that you can do even advanced editing without ever taking your hands off the main keyboard (except for the occasional ESC key). With a latent case of "computer arm", it's a nice thing not having to go through the mouse and/or the cursor keys every now and then.
Every good solution is obvious once you've found it.
Post Reply