Page 2 of 2

Re: Special IDE specially designed for OS Developers!

Posted: Sat May 19, 2012 1:27 am
by shikhin
Hi,
berkus wrote:
MessiahAndrw wrote:I see some people are anti-IDE.
...sublime text 2...
FTW! :lol:

Regards,
Shikhin

Re: Special IDE specially designed for OS Developers!

Posted: Sat May 19, 2012 2:55 am
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:

Re: Special IDE specially designed for OS Developers!

Posted: Sat May 19, 2012 3:53 am
by mnovotny
Sounds like vim is perfect. Is there any way to make vim a normal text editor? You know without that mode crap.

Re: Special IDE specially designed for OS Developers!

Posted: Sat May 19, 2012 5:04 am
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

Re: Special IDE specially designed for OS Developers!

Posted: Sat May 19, 2012 8:07 am
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.

Re: Special IDE specially designed for OS Developers!

Posted: Sat May 19, 2012 10:32 am
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.